joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x48d540
xor eax, eax
jmp 0x48d6dd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x48d69e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d59a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d59a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d59a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d59a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d59a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d59a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d59a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d59a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x48d549
cmp dword [ebp + 0x10], 0
je 0x48d6d7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d59a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x48d6a4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x48e5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x48e60f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48e605
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x48e669
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x48e62f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439650
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x490620
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x490643
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x490648
jmp 0x490730
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x49069a
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x490680
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x490689
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x490657
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x4906fb
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.00437963
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x420], ax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00490620
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004c31de
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004c31ad
add esp, 8
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
Function at 0x4b5580
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x4b55a5
xor eax, eax
jmp 0x4b563d
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x4b55b5
xor eax, eax
jmp 0x4b563d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.00442e50
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4b55e5
xor eax, eax
jmp 0x4b563d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
add ecx, 0x1c4
call fcn.00462fc0
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c0cf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0d00
mov ecx, dword [ebp + 8]
sub eax, edx
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4c0d4b
mov edx, dword [ebp + 0xc]
push esi
push edi
push 1
push eax
push 0x4d7a8c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4c1a70
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ff8
call fcn.00448ae0
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ReadFirstPhysicalDriveInNTWithZeroRights_Enter._n
mov esi, ecx
call fcn.00437af7
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x2ff4], ebx
mov eax, dword [ebp - 0x2ff4]
push eax
push str..PhysicalDrive_d
lea ecx, [ebp - 0x104]
push 0x100
push ecx
call fcn.004376e3
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c1c21
push 0x270f
lea eax, [ebp - 0x2fe3]
push ebx
push eax
mov byte [ebp - 0x2fe4], bl
call fcn.0043ef50
add esp, 0xc
push ebx
lea ecx, [ebp - 0x2ff8]
push ecx
push 0x2710
xor eax, eax
lea edx, [ebp - 0x2fe4]
push edx
mov dword [ebp - 0x2ff0], eax
mov dword [ebp - 0x2fec], eax
push 0xc
mov dword [ebp - 0x2fe8], eax
lea eax, [ebp - 0x2ff0]
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x2ff8], ebx
mov dword [ebp - 0x2ff0], ebx
mov dword [ebp - 0x2fec], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4c1c18
push 0x3e7
lea ecx, [ebp - 0x4eb]
push ebx
push ecx
mov byte [ebp - 0x4ec], bl
call fcn.0043ef50
push 0x3e7
lea edx, [ebp - 0x8d3]
push ebx
push edx
mov byte [ebp - 0x8d4], bl
call fcn.0043ef50
mov eax, dword [ebp - 0x2fcc]
lea ecx, [ebp + eax - 0x2fe4]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.004c0d80
push eax
lea edx, [ebp - 0x4ec]
push 0x3e8
push edx
call fcn.0043b6fa
mov eax, dword [ebp - 0x2fd4]
lea ecx, [ebp + eax - 0x2fe4]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004c0d80
push eax
lea edx, [ebp - 0x8d4]
push 0x3e8
push edx
call fcn.0043b6fa
lea eax, [ebp - 0x4ec]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4c1be3
sub eax, ecx
push eax
lea eax, [ebp - 0x4ec]
push eax
mov ecx, esi
call fcn.004031a0
push 1
push ebx
push 0x4e18b8
mov ecx, esi
call fcn.004c0f00
push eax
push ebx
mov ecx, esi
call fcn.00403220
cmp dword [esi + 0x10], ebx
jne 0x4c1c60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c1c37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffffffffffffff
push str._hDevice___d__Error___d___n
call fcn.00437af7
add esp, 0xc
mov eax, dword [ebp - 0x2ff4]
inc eax
mov dword [ebp - 0x2ff4], eax
cmp eax, 0x10
jl 0x4c1aa1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
Function at 0x4c2090
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov dword [ebp - 0x220], ecx
xor edi, edi
mov dword [ebp - 0x210], ebx
mov byte [ebp - 0x108], bl
call fcn.0043ef50
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c2234
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x4c2234
push esi
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x108]
push ecx
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4c2226
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4c2140
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 1
push ebx
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c21dc
push 0x103
lea edx, [ebp - 0x20b]
push ebx
push edx
mov byte [ebp - 0x20c], bl
call fcn.0043ef50
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x224]
push edx
push ebx
push str.ServiceName
push eax
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0x224], 1
call edi
test eax, eax
jne 0x4c21cf
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.004c1c80
test eax, eax
jne 0x4c2207
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x210]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x108]
push ecx
inc esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4c2140
jmp 0x4c2224
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
mov edi, 1
cmp dword [ecx + 0x2c], ebx
jne 0x4c2226
mov edi, ebx
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
Function at 0x4c2250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c997c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5052a0]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x80], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4e0f48
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x88], esi
mov byte [esi], bl
call fcn.004031a0
push 0x63
lea eax, [ebp - 0x73]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x80], 1
mov byte [ebp - 0x74], bl
call fcn.0043ef50
add esp, 0xc
lea ecx, [ebp - 0x78]
push ecx
push 1
push ebx
push edi
push SysReAllocString
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4c2315
lea edx, [ebp - 0x7c]
push edx
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x84]
push ecx
push ebx
push 0x4d7a8c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
lea edx, [eax + 1]
jmp 0x4c2320
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c2320
sub eax, edx
push eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
call fcn.004031a0
mov eax, esi
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.00434ee7
mov esp, ebp
pop ebp
ret 8
Function at 0x405660
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [esi + 0xc]
push ebp
mov ebp, dword [esi + 4]
cmp eax, ebp
push edi
jne 0x405677
lea eax, [ebp + 1]
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
jmp 0x40568b
mov ecx, dword [esi]
mov ebp, eax
imul eax, eax, 0x30c
jmp 0x838000
mov edi, ebp
imul edi, edi, 0x30c
add edi, dword [esi]
push 0x308
push 0
push edi
call fcn.00626020
mov eax, dword [esi + 0x14]
shl eax, 0x10
or eax, ebp
mov dword [edi + 0x308], eax
mov edx, 1
add dword [esi + 0x14], edx
add esp, 0xc
cmp dword [esi + 0x14], 0x10000
jne 0x4056c7
mov dword [esi + 0x14], edx
add dword [esi + 0x10], edx
mov ecx, 0xf
lea eax, [edi + 8]
call fcn.005a3710
add eax, 0x30
sub ecx, edx
jns 0x4056d2
mov dword [edi + 0x300], 0
mov byte [edi + 0x304], 0
mov eax, edi
pop edi
pop ebp
ret
Function at 0x40d8a0
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x128]
lea edi, [ebp*8]
sub edi, ebp
cmp byte [esi + ebp + 0x54d4], 0
lea edi, [edi*4 + 0x69da80]
mov dword [esp + 0x14], edi
je 0x40da90
cmp ebp, 0x14
jne 0x40d90b
mov ebx, dword [esi + 0x8c]
mov eax, dword [ebx + 0x7f8]
add eax, 0xfffffff5
cmp eax, 4
ja 0x40d90b
mov eax, dword [esp + 0x130]
push eax
mov edx, esi
call fcn.00409080
test al, al
je 0x40da90
jmp 0x40d984
mov ebx, dword [esi + 0x8c]
mov eax, dword [ebx + 0x7f8]
cmp eax, 0x22
jmp 0x81f500
mov eax, dword [ebx + 0x7f8]
cmp eax, 1
mov edi, dword [edi + 0x14]
jl 0x40da7d
cmp eax, 0xf
jg 0x40da7d
call fcn.00413260
cmp ebp, 0x17
mov ebx, eax
je 0x40d9b0
cmp ebp, 0xc
jne 0x40d9db
push 1
mov ecx, 0x32
push 0x32
push 2
mov eax, ebx
lea edx, [ecx - 0x28]
call fcn.00511c40
mov esi, dword [esp + 0x140]
add esp, 0xc
cmp dword [esi + ebp*4 + 8], eax
jge 0x40da90
jmp 0x40d9e2
mov esi, dword [esp + 0x134]
cmp ebp, 0x20
jne 0x40da3e
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x128]
push ecx
call fcn.00409080
push 1
push 0x32
test al, al
push 1
mov eax, ebx
je 0x40da1f
lea ecx, [ebp + 0x44]
lea edx, [ebp - 0x12]
call fcn.00511c40
add esp, 0xc
cmp dword [esi + 0x88], eax
jge 0x40da90
jmp 0x40da7d
mov ecx, 0x6e
lea edx, [ecx - 0x64]
call fcn.00511c40
add esp, 0xc
cmp dword [esi + 0x10c], eax
jge 0x40da90
mov edi, 0x3e8
jmp 0x40da7d
test ebp, ebp
jne 0x40da55
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x40da65
cmp ebp, 2
jne 0x40da7d
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
push 1
push eax
mov ecx, 0x32
push edi
mov eax, ebx
lea edx, [ecx - 0x28]
call fcn.00511c40
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + eax*8 + 0x1c], ebp
mov dword [esp + eax*8 + 0x20], edi
add eax, 1
mov dword [esp + 0x18], eax
add ebp, 1
cmp ebp, 0x21
jl 0x40d8b0
mov edx, dword [esp + 0x18]
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x40dabb
jmp 0x40dab0
add eax, dword [esp + ecx*8 + 0x20]
add ecx, 1
cmp ecx, edx
jl 0x40dab0
call fcn.005af400
mov esi, dword [esp + 0x18]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x40db05
lea esp, [esp]
add edx, dword [esp + ecx*8 + 0x20]
cmp eax, edx
jl 0x40daf2
add ecx, 1
cmp ecx, esi
jl 0x40dad0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x10
lea eax, [esp + ecx*8 + 0x1c]
mov eax, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x10
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x10
Function at 0x41bee0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [edi + 0x8c]
mov eax, dword [esi + 0x7f8]
cmp eax, 0x33
jl 0x41bef7
cmp eax, 0x3c
jle 0x41bf07
test eax, eax
jne 0x41bf0e
mov eax, dword [esi + 0x82c]
cmp dword [eax + 0x24], 0x23
jne 0x41bf0e
mov eax, 1
pop esi
ret
cmp dword [esi + 0x768], 0
je 0x41bf39
mov eax, dword [esi + 0x7f8]
cmp eax, 0x1e
je 0x41bf32
test eax, eax
jne 0x41bf39
mov ecx, dword [esi + 0x82c]
cmp dword [ecx + 0x24], 0xf
jne 0x41bf39
mov eax, 3
pop esi
ret
mov ecx, esi
call fcn.00453a00
test al, al
jne 0x41c000
mov eax, edi
call fcn.0041be50
test al, al
je 0x41bf5a
mov eax, 0xa
pop esi
ret
mov eax, dword [esi + 0x7f8]
cmp eax, 0x2a
jne 0x41bf6c
mov eax, 6
pop esi
ret
cmp eax, 0x14
je 0x41c000
cmp eax, 0x18
je 0x41c000
cmp eax, 0x17
jne 0x41bf8a
mov eax, 2
pop esi
ret
cmp eax, 0x3d
je 0x41bf32
cmp eax, 0x3e
je 0x41bf32
cmp eax, 0x3f
je 0x41bf32
cmp eax, 0x40
je 0x41bf32
cmp eax, 0x41
je 0x41bff9
cmp eax, 0x42
je 0x41bff9
cmp eax, 0x43
je 0x41bff9
cmp eax, 0x44
je 0x41bf65
cmp eax, 0x45
jne 0x41bfbe
mov eax, 8
pop esi
ret
cmp eax, 0x46
jne 0x41bfca
mov eax, 9
pop esi
ret
mov eax, esi
call fcn.00453870
test al, al
jne 0x41bf32
mov eax, esi
mov edx, dword [eax + 0x82c]
mov esi, dword [edx + 0x214]
add esi, 6
call fcn.00453ac0
cmp eax, esi
jge 0x41bff5
mov esi, eax
mov eax, esi
pop esi
ret
mov eax, 4
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x41d730
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push esi
lea esi, [esp + 0xc]
mov edx, edi
mov dword [esp + 0xc], 0
call fcn.0041cad0
test al, al
je 0x41d7bb
mov ebx, 1
jmp 0x41d760
cmp byte [edi + 0x5c4], 0
mov esi, dword [esp + 0xc]
je 0x41d77b
cmp dword [esi + 8], ebx
jne 0x41d77b
cmp dword [esi + 0x18], 0x64
jge 0x41d77b
add dword [esi + 0x18], ebx
cmp dword [esi + 8], 2
jne 0x41d7a5
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x7fc], 3
jne 0x41d7a5
cmp dword [esi + 0x18], 0
jle 0x41d79e
jmp 0x835000
jne 0x41d7a5
call fcn.0044d000
mov eax, esi
call fcn.0044e5e0
lea esi, [esp + 0xc]
mov edx, edi
call fcn.0041cad0
test al, al
jne 0x41d760
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
fld dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
fsub dword [esi + 0x34]
push ebx
push ebp
fstp dword [esp + 0xc]
push edi
fld dword [esp + 0x10]
je 0x46d0ff
cmp ecx, 1
je 0x46d0ff
cmp ecx, 6
je 0x46d0ff
cmp ecx, 8
je 0x46d0ff
cmp ecx, 0xb
jne 0x46d11d
fcom qword [0x6794d8]
fnstsw ax
test ah, 5
jp 0x46d11d
fstp st(0)
xor eax, eax
mov ecx, esi
pop edi
pop ebp
pop ebx
add esp, 8
jmp fcn.0046e000
cmp ecx, 4
jne 0x46d13e
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x46d13e
fstp st(0)
xor eax, eax
mov ecx, esi
pop edi
pop ebp
pop ebx
add esp, 8
jmp fcn.0046e000
cmp ecx, 7
jne 0x46d15f
fcomp dword [0x679774]
fnstsw ax
test ah, 5
jp 0x46d161
xor eax, eax
mov ecx, esi
pop edi
pop ebp
pop ebx
add esp, 8
jmp fcn.0046e000
fstp st(0)
mov eax, dword [esi + 0x58]
cmp eax, 6
je 0x46d1e0
cmp eax, 9
je 0x46d1e0
test ecx, ecx
je 0x46d186
cmp ecx, 1
je 0x46d186
cmp ecx, 7
je 0x46d186
cmp ecx, 4
je 0x46d186
cmp ecx, 6
jne 0x46d1e0
cmp byte [esi + 0x70], 0
jne 0x46d1e0
fld dword [esi + 0x34]
call fcn.006397d0
fld dword [esi + 0x30]
mov edi, eax
call fcn.006397d0
mov ebp, dword [esi + 4]
mov ebx, eax
add ebx, 0x1e
mov eax, ebx
mov ecx, ebp
call fcn.0041c4c0
test eax, eax
jle 0x46d1be
mov eax, ebx
mov ecx, ebp
call fcn.0041c4c0
jmp 0x46d1c0
xor eax, eax
mov ecx, dword [esi + 0x1c]
lea eax, [eax + eax*2 + 0x2d]
lea edx, [ecx + eax*2]
cmp dword [ebp + edx*4], 4
jne 0x46d1e0
xor eax, eax
mov ecx, esi
pop edi
pop ebp
pop ebx
add esp, 8
jmp fcn.0046e000
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x488590
Capabilities:
Packed with generic packer

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x64f7f8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ecx, dword [ebp]
cmp dword [ecx + 0x7fc], 3
push esi
push edi
jne 0x488ea6
mov eax, dword [ebp + 0x34]
cmp eax, 0xffffffff
je 0x488ea6
cmp dword [ecx + 0x768], 0
je 0x488666
cmp dword [ecx + 0x7f8], 0x12
jne 0x488666
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x140]
cmp dword [ecx + 0x88], 0
jne 0x488638
push str._ADVICE_SLOT_MACHINE_PULL_
lea ecx, [esp + 0x14]
call fcn.00404450
mov dword [esp + 0x6c], 0
mov edi, dword [ebp + 4]
mov esi, dword [edi + 0x140]
mov ecx, 9
lea edx, [esp + 0x10]
call fcn.00459010
lea ecx, [esp + 0x10]
mov dword [edi + 0x55ec], 0xffffffff
call fcn.00404420
mov edx, dword [ebp + 4]
mov ecx, dword [edx + 0x160]
mov eax, dword [ecx + 0x70]
cmp eax, 2
jl 0x48864e
mov eax, 2
mov dword [ecx + 0x70], eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4
mov esi, eax
cmp esi, 0x30
jne 0x488677
mov edx, dword [ebp + 0x38]
cmp edx, 0xffffffff
je 0x488677
mov esi, edx
jmp 0x868500
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4