joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461040
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d5620
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.004610d0
add esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4610ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret

Function at 0x4618b0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
xor ebx, ebx
test edi, edi
jne 0x4618db
call fcn.004053da
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x4618fa
mov eax, edi
mov ecx, esi
call fcn.004028d0
mov eax, dword [esi]
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x46191c
push ecx
push eax
call fcn.004b200e
add esp, 8
test eax, eax
jl 0x46193c
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x46193c
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
pop edi
pop esi
xor edx, edx
mov ebx, 1
mov word [ecx + eax*2], dx
pop ebp
mov eax, ebx
pop ebx
ret 4
push 0x80070057
call fcn.00402a1f
int3
Function at 0x4660c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, eax
push edi
call int.00419fd8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
push 0x1f6
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x466132
mov eax, dword [edi + 0x14]
mov ecx, edi
cmp esi, eax
ja 0x466100
push 0xffffffffffffffff
push esi
call fcn.00403f65
jmp 0x46610c
mov edx, esi
push 0
sub edx, eax
push edx
call fcn.0041af79
cmp dword [edi + 0x18], 8
jb 0x466125
mov edi, dword [edi + 4]
inc esi
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebx
ret 4
inc esi
push esi
add edi, 4
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebx
ret 4

Function at 0x466740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9af6
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
push eax
lea eax, [esp + 0x30]
push eax
xor edx, edx
call fcn.0045cc90
add esp, 8
xor ebx, ebx
mov dword [esp + 0x15c], ebx
cmp dword [esp + 0x40], ebx
jne 0x46684c
push 0x103
lea ecx, [esp + 0x4d]
push ebx
push ecx
mov byte [esp + 0x54], bl
call fcn.004b4140
add esp, 0xc
push 0x104
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x48]
push eax
call fcn.004b3cd0
add esp, 4
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404a6b
lea edx, [esp + 0xc]
push edx
lea edi, [esp + 0x30]
mov byte [esp + 0x10], 0x5c
call fcn.00466ef0
cmp eax, 0xffffffff
je 0x46684c
push eax
lea eax, [esp + 0x14]
push eax
xor ecx, ecx
mov edx, edi
call fcn.00466e80
mov byte [esp + 0x15c], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00404e13
mov byte [esp + 0x15c], bl
cmp dword [esp + 0x28], 0x10
jb 0x46683c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b1fa3
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x46685b
lea eax, [esp + 0x30]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.dbghelp.dll_SymSetSearchPath]
cmp eax, 1
sete byte [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x46688c
mov eax, dword [esp + 0x30]
push eax
call fcn.004b1fa3
add esp, 4
mov al, byte [esp + 0xc]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004b1fae
add esp, 0x154
ret 4
Function at 0x499e5f
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [eax + 0x14]
add ecx, ecx
cmp dword [eax + 0x18], 8
jb 0x499e70
mov eax, dword [eax + 4]
jmp 0x499e73
add eax, 4
push 0
lea edx, [esp + 4]
push edx
push ecx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop ecx
ret
Function at 0x78b2394d
Capabilities:
Encode data using xor

Disassembly:
daa
jb 0x78b2398a
pop esp
mov dword [0x35456fa3], eax
xchg esi, eax
xor eax, 0x6f129526
invalid
sbb al, 0x2a
retf 0x2b89

Function at 0x78b2a38a
Capabilities:
Encode data using xor

Disassembly:
lcall 0xdf41, 0xf269e57c
out 0x38, al
pop ebx
mov eax, dword [0xa4df0328]
add ebx, edi
movsb byte es:[edi], byte [esi]
add ebx, edi
movsb byte es:[edi], byte [esi]
sub bh, ch
xor dword [edi + esi], eax
scasd eax, dword es:[edi]
sbb dl, byte [ecx + 0x5c]
jb 0x78b2a37e
rol byte [edx + 0x236857ca], cl
out 0x4b, eax
mov ebp, 0xdfad046d
lds esp, [esi + 0x6243938]
in eax, 0x65
int 0x27
pop ebp
xchg ebx, eax
cld
aaa
popal
das
xor dl, byte [edx - 0x6e0e2cd6]
cmc
leave
cwde
ja 0x78b2a3ef
add al, byte [ecx - 0x6b93b87f]
stosb byte es:[edi], al
adc al, 0xe2
push esi
test byte [esi - 0x5f], ah
loop 0x78b2a43a
stc
xor ch, byte [edx - 0x72]
fbld tbyte [eax]
mov bh, byte [edx + 0x2e4202ea]
salc
mov edi, 0x4af79ed9
call 0xdde535af
mov eax, 0xc275b095
push ds
mov dh, 0x39
mov dword [0xe8c188b5], eax
cmp dword [ebx - 0x173e774b], esp
clc
invalid
push eax
or eax, 0x9fdb9b99
arpl word [edi], dx
push ebp
push edx
out 0xd9, al
jns 0x78b2a432
bound esi, qword [esi + 0x71]
inc edx
cmp cl, dl
packuswb mm2, qword [ebx - 0x50]
mov al, 4
invalid
mov ebp, 0xf43d9392
mov ah, 0x37
xor esi, dword [ebx - 0x69a61609]
add al, 0x58
cmpsd dword [esi], dword es:[edi]
pop ss
call 0xa534108d
hlt

Function at 0x78b2bfc5
Capabilities:
Encode data using xor

Disassembly:
daa
push ds
mov byte [eax - 0x5103b789], bl
dec eax
cld
scasb al, byte es:[edi]
mov word [eax + 0x684ce862], ds
jne 0x78b2bffc
fcom dword [esp + eax + 0x1a]
cmc
aaa
push esi
mov esi, 0x90fdae96
mov bh, 0x48
dec esi
cli
fadd dword [edi + 0x87fd63]
fcomp qword [esp + eax*8 + 0x4bddb91b]
out dx, al
or eax, 0xe7348fba
xor al, 0xe7
mov al, 0xa4
push ds
popal
adc bl, al
shld dword [esi + 0x4baaead0], eax, cl
cmp byte [esi + 0x53], ah
inc edi
dec ebx
wait
push edx
fimul dword [ebp - 0x44]
cmp eax, 0x9d9c3501
and eax, 0x21cfda99
and al, 8
out dx, eax
scasb al, byte es:[edi]
out dx, eax
cmpsb byte [esi], byte es:[edi]
push ecx
dec esi
loope 0x78b2bff1
xchg al, dl
ljmp 0x4753
imul esi, ecx, 0xffffffe3
outsb dx, byte [esi]
ljmp 0x28c0

Function at 0x78b3a490
Capabilities:
Encode data using xor

Disassembly:
cmp al, byte [ebp + 0x25]
cmp edx, dword [ebp + 9]
cmp dword [ecx - 0x39], esi
popfd
or byte [eax], bh
popal
aaa
shl byte [edi], cl
adc esi, dword [edx - 0x234ffde2]
mov eax, 0x5802517a
xchg dword [eax], edi
push cs
push 0xffffffffffffff85
insd dword es:[edi], dx
xor al, 0x29
ror al, 1
dec ecx
dec ecx
invalid
jle 0x78b3a442
outsd dx, dword [esi]
sub dh, byte [edi - 5]
fist dword [eax + 0x4922013e]
adc byte [esi], 0x4b
mul dword [edx]
jns 0x78b3a4ed
pop ebp
leave
inc esi
xor edi, dword [esi]
stosd dword es:[edi], eax
shl eax, 0xe6
mov esi, 0x7a85278
and al, 0x5e
out 0x23, eax
leave
inc ecx
xchg esp, eax
xchg ecx, eax
push ebp
int3
fsubr qword [0x3c26be35]
ret
Function at 0x401b50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40702c
call sym._EnterCriticalSection_4
mov ebx, dword [0x407024]
sub esp, 4
test ebx, ebx
je 0x401b9b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401b94
test esi, esi
je 0x401b94
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401b70
mov dword [esp], 0x40702c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d80
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401ea4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401e0e
cmp eax, 4
jne 0x401e30
test esi, esi
je 0x401e22
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401e14
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401e6f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401e61
cmp ecx, 0x40
je 0x401e22
cmp ecx, 4
je 0x401e22
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d80
lea esi, [esi]
Function at 0x425a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x425a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425a88
mov eax, 1
add ebx, ebx
jne 0x425aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425aa0
jne 0x425abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aa0
xor ecx, ecx
sub eax, 3
jb 0x425ad0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425b42
mov ebp, eax
add ebx, ebx
jne 0x425adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425b0c
inc ecx
add ebx, ebx
jne 0x425af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425aed
jne 0x425b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425b2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425b1d
jmp 0x425a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425b2c
add edi, ecx
jmp 0x425a8e
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425b4a
cmp byte [edi], 3
jne 0x425b4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425b4f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425bc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425b7c
mov ecx, edi
jns 0x425bab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39560]
or eax, eax
je 0x425bc1
mov dword [ebx], eax
add ebx, 4
jmp 0x425b99
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425bfb
sub esp, 0xffffff80
jmp 0x40152c

Function at 0x4114e5
Capabilities:
Encode data using xor

Disassembly:
push 0x411570
push dword fs:[0x8b000000]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x10]
sub esp, eax
push esi
mov ecx, dword [ebx + 0x437118]
xor esi, dword [ecx]
in al, 0xfc
xor eax, ebp
push eax
mov dword [ebp - 0x18], esp
jne 0x411506
clc
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0x75ffffff
mov eax, edi
pop edi
inc ebp
invalid
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x32371fb7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x58814bbe
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4019b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4220c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x404]
push 0x41f418
push eax
call fcn.00408a8e
lea eax, [ebp - 0x404]
push 0x41f424
push eax
call fcn.00409848
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x401a22
push ebx
push 0x20
push 1
push edi
call fcn.00409a20
mov esi, eax
add esp, 0x10
cmp esi, 0x20
jge 0x401a15
test esi, esi
jle 0x401a15
mov byte [edi + esi], 0
push ebx
call fcn.00409dba
add esp, 4
test esi, esi
jg 0x401a64
push ecx
push edi
call fcn.00401950
lea eax, [ebp - 0x404]
push 0x41f428
push eax
call fcn.00409848
mov esi, eax
add esp, 8
test esi, esi
je 0x401a64
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a48
push esi
sub ecx, edx
push ecx
push 1
push edi
call fcn.00409c85
push esi
call fcn.00409dba
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408a7f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4220c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4242b4]
test esi, esi
jne 0x401bb2
push 0xc8
call fcn.0040a222
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x401ba3
mov ecx, eax
call fcn.004012e0
mov esi, eax
jmp 0x401ba5
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4242b4], esi
push 0x41f42c
push 1
call dword [0x41a028]
push eax
push 0xaf
push 0x41f3a4
push esi
call fcn.00402340
add esp, 0x18
call fcn.00406be0
mov edi, dword [0x41a014]
mov esi, eax
mov byte [esi + 0x30], 1
push 0x1f4
call edi
cmp byte [esi + 0x30], 0
jne 0x401be4
push 0
call fcn.0040a20e
int3
Function at 0x404ba0
Capabilities:
Parse credit card information
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4220c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff6
add eax, edx
lea esi, [edx + 0xf]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
cmp esi, eax
jae 0x404dcb
mov al, byte [esi]
cmp al, 0x3d
je 0x404c0e
cmp al, 0x44
jne 0x404db0
mov al, byte [esi - 0x10]
lea ebx, [esi - 0x10]
cmp al, 0x33
jne 0x404c21
mov dword [ebp - 0x2c], 6
jmp 0x404c4a
cmp al, 0x34
jne 0x404c2e
mov dword [ebp - 0x2c], 8
jmp 0x404c4a
cmp al, 0x35
jne 0x404c3b
mov dword [ebp - 0x2c], 1
jmp 0x404c4a
cmp al, 0x36
jne 0x404db0
mov dword [ebp - 0x2c], 3
mov al, byte [esi + 1]
cmp al, 0x31
jb 0x404db0
cmp al, 0x34
ja 0x404db0
mov dl, byte [esi + 2]
cmp dl, 0x39
ja 0x404db0
cmp dl, 0x30
jb 0x404db0
movzx eax, al
sub eax, 0x30
lea ecx, [eax + eax*4]
movzx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffffc3
cmp eax, 0x1b
ja 0x404db0
mov al, byte [esi + 3]
cmp al, 0x39
ja 0x404db0
cmp al, 0x30
jb 0x404db0
mov dl, byte [esi + 4]
cmp dl, 0x39
ja 0x404db0
cmp dl, 0x30
jb 0x404db0
movzx eax, al
sub eax, 0x30
lea ecx, [eax + eax*4]
movzx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffffd0
je 0x404db0
cmp eax, 0xc
ja 0x404db0
cmp byte [esi + 6], 0x30
jne 0x404db0
cmp byte [esi + 7], 0x31
jne 0x404db0
mov al, byte [esi + 5]
cmp al, 0x32
je 0x404cf9
cmp al, 0x31
jne 0x404db0
mov di, word [ebp - 0x2c]
mov dl, 1
nop
movzx ecx, dl
mov eax, esi
sub eax, ecx
mov al, byte [eax]
sub al, 0x30
cmp al, 9
ja 0x404db0
and ecx, 0x80000001
jns 0x404d20
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x404d2a
add al, al
cmp al, 9
jbe 0x404d2a
add al, 0xf7
movzx eax, al
inc dl
add di, ax
cmp dl, 0xf
jbe 0x404d00
movzx eax, di
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404db0
mov al, 8
movzx edi, al
mov cl, byte [edi + esi]
add edi, esi
cmp cl, 0x39
ja 0x404d62
cmp cl, 0x30
jb 0x404d62
add al, 1
cmp al, 0x1e
jbe 0x404d48
jmp 0x404d70
cmp al, 0xa
jbe 0x404db0
cmp byte [edi], 0x3f
jne 0x404d6c
inc edi
test edi, edi
jne 0x404d73
lea edi, [esi + 0x1f]
mov eax, edi
sub eax, ebx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402c00
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.004056b0
mov ecx, eax
call fcn.00405cd0
test al, al
je 0x404dad
mov ebx, dword [ebp - 0x30]
lea esi, [ebx + 0x20]
push esi
call dword [0x41a050]
inc dword [ebx + 0x18]
push esi
call dword [0x41a04c]
lea esi, [edi + 0xf]
inc esi
cmp esi, dword [ebp - 0x34]
jb 0x404c00
cmp dword [ebp - 0x14], 0x10
jb 0x404dcb
push dword [ebp - 0x28]
call fcn.00409b29
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408a7f
mov esp, ebp
pop ebp
ret 8
Function at 0x405820
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
add ecx, 0x4c
mov eax, edx
shr eax, 1
test dl, 1
je 0x405833
xor eax, 0xedb88320
test al, 1
je 0x405840
shr eax, 1
xor eax, 0xedb88320
jmp 0x405842
shr eax, 1
test al, 1
je 0x40584f
shr eax, 1
xor eax, 0xedb88320
jmp 0x405851
shr eax, 1
test al, 1
je 0x40585e
shr eax, 1
xor eax, 0xedb88320
jmp 0x405860
shr eax, 1
test al, 1
je 0x40586d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40586f
shr eax, 1
test al, 1
je 0x40587c
shr eax, 1
xor eax, 0xedb88320
jmp 0x40587e
shr eax, 1
test al, 1
je 0x40588b
shr eax, 1
xor eax, 0xedb88320
jmp 0x40588d
shr eax, 1
test al, 1
je 0x40589a
shr eax, 1
xor eax, 0xedb88320
jmp 0x40589c
shr eax, 1
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jl 0x405825
ret

Function at 0x405cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp dword [ebx + 0x14], 0x10
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
jb 0x405cf0
mov edx, dword [ebx]
jmp 0x405cf2
mov edx, ebx
or esi, 0xffffffff
test edi, edi
je 0x405d17
lea esp, [esp]
movzx eax, byte [edx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [ecx + eax*4 + 0x4c]
lea edx, [edx + 1]
dec edi
jne 0x405d00
lea eax, [ecx + 0x34]
not esi
push eax
mov dword [ebp - 0x10], esi
call dword [0x41a050]
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x2c]
mov edx, eax
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x405d4b
cmp dword [ecx + 0x10], esi
jae 0x405d41
mov ecx, dword [ecx + 8]
jmp 0x405d45
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x405d37
cmp edx, eax
je 0x405d57
mov dword [ebp + 8], edx
cmp esi, dword [edx + 0x10]
jae 0x405d5a
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
cmp dword [ecx], eax
jne 0x405d87
movzx eax, byte [0x4242ec]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0x2c]
call fcn.004052e0
lea ecx, [edi + 0x20]
push ebx
call fcn.00406330
mov byte [ebp - 1], 1
lea ecx, [edi + 0x34]
push ecx
call dword [0x41a04c]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8