joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467480
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13e84
call fcn.00520ea0
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x56e928]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x13e24], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
mov esi, edx
push eax
mov dword [ebp - 0x13e28], esi
call fcn.00518020
add esp, 0xc
lea eax, [ebp - 0x620]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
call esi
lea ecx, [ebp - 0x13e20]
call fcn.0046c2e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
test eax, eax
je 0x4674fc
push ebx
jmp 0x4675aa
push 0x56e260
call edi
test eax, eax
je 0x467527
push 0x56e260
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x4675b3
push 0x56dac0
call edi
test eax, eax
je 0x4675a5
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x56dac0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4675b3
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
jmp 0x4675b3
push 0x567298
lea eax, [ebp - 0x210]
push eax
call esi
push 0x58
lea eax, [ebp - 0x13e80]
push 0
push eax
call fcn.00518020
mov eax, dword [ebp - 0x13e24]
mov dword [ebp - 0x13e7c], eax
lea eax, [ebp - 0x13e20]
mov dword [ebp - 0x13e74], eax
lea eax, [ebp - 0x620]
add esp, 0xc
mov dword [ebp - 0x13e64], eax
lea eax, [ebp - 0x210]
push 0x56a920
mov dword [ebp - 0x13e80], 0x58
mov dword [ebp - 0x13e54], eax
mov dword [ebp - 0x13e60], 0x104
mov dword [ebp - 0x13e4c], 0x2000806
call edi
neg eax
sbb eax, eax
and eax, 0x56a920
mov dword [ebp - 0x13e44], eax
lea eax, [ebp - 0x13e80]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x467669
push 0x104
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x13e28]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x467e50
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5674ac]
sub esp, 0x64
cmp dword [0x565b2c], 2
push ebx
push esi
push edi
jne 0x467fee
cmp eax, 1
jle 0x467fee
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 9
push edi
mov dword [ebp - 8], eax
call esi
test eax, eax
je 0x467ede
mov ebx, 0x20
jmp 0x467ed0
push 9
push edi
mov word [eax], bx
call esi
test eax, eax
jne 0x467ed0
xor ebx, ebx
mov eax, dword [0x567944]
push 0x407d38
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
lea eax, [edi + eax*2]
push eax
push edi
call esi
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x467f1a
cmp ecx, 0x2d
je 0x467f1a
cmp ecx, 0x2b
jne 0x467f38
push edx
mov eax, 0x20
push edi
mov word [edx], ax
call esi
mov edx, eax
mov eax, ebx
inc ebx
cmp eax, 1
jle 0x467f08
dec dword [0x567944]
jmp 0x467f08
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
cmp dword [0x5674ac], esi
jle 0x467fc9
lea esp, [esp]
mov eax, dword [0x567944]
push 0x40b668
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi*4 + 0x56a880]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [esi*4 + 0x56a880]
call ebx
push 0x44
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00518020
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x567298
push 0
push 0
push 0
push 0
push 0
push edi
push 0
mov dword [ebp - 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
inc esi
cmp esi, dword [0x5674ac]
jl 0x467f50
push edi
call ebx
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
call ebx
push dword [0x567930]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
test eax, eax
jle 0x468012
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
lea ebx, [ebx]
push dword [esi*4 + 0x56a880]
call edi
inc esi
cmp esi, dword [0x5674ac]
jl 0x468000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468020
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x600
sub esp, 0x88
cmp word [0x56e1ac], ax
jb 0x468137
cmp dword [0x5674b8], 0
jne 0x468137
cmp dword [0x567928], 0
je 0x468137
cmp dword [0x5676d4], 0
jne 0x468137
push ebx
push esi
push edi
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
push edi
mov dword [ebp - 8], eax
call ebx
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
mov esi, dword [ebp - 8]
push eax
mov edx, esi
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00456750
add esp, 4
push esi
call ebx
test eax, eax
je 0x46811c
push 0x3c
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00518020
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x800500
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x58]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x38], 0x40b678
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x567298
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x46811f
mov edi, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x469970
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56dcd0], 0xffffffff
je 0x4699a4
cmp dword [0x56dcd4], 0xffffffff
je 0x4699a4
cmp dword [0x56dcd8], 0xffffffff
je 0x4699a4
cmp dword [0x56dcdc], 0xffffffff
jne 0x469a1c
push 3
lea eax, [ebp - 0xc]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [ebp - 0xc], 0x30
jne 0x4699f4
mov dword [0x56dcd0], 0x7d0
mov dword [0x56dcd4], 0x7d0
mov dword [0x56dcd8], 0x7d0
mov dword [0x56dcdc], 0x7d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
mov dword [0x56dcd0], 0x3e8
mov dword [0x56dcd4], 0x3e8
mov dword [0x56dcd8], 0x3e8
mov dword [0x56dcdc], 0x3e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x469f70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push eax
mov edi, ecx
call fcn.00518020
push 0x58
lea eax, [ebp - 0x678]
push 0
push eax
call fcn.00518020
add esp, 0x18
lea eax, [ebp - 0x208]
push 0x100
push eax
push 0x2720
push dword [0x56e6cc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x208]
lea eax, [ecx + eax*2]
cmp eax, ecx
je 0x46a012
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
cmp word [eax], 0x7c
jne 0x46a008
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x208]
cmp eax, ecx
jne 0x469ff3
lea eax, [ebp - 0x208]
mov dword [ebp - 0x66c], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x678]
push eax
mov dword [ebp - 0x678], 0x58
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x63c], 0x4320d0
mov dword [ebp - 0x658], 0x208
mov dword [ebp - 0x644], 0x200580c
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x46a158
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
mov dword [ebp - 0x61c], eax
mov esi, 0x5581d0
lea ecx, [ebp - 0x618]
push ecx
push eax
mov eax, dword [esi]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x46a126
mov ecx, dword [esi]
push 0x80
lea eax, [ecx + 0x10]
push eax
push dword [ecx + 0xc]
mov edx, 0x43208c
mov ecx, ebx
call fcn.004546a0
add esp, 0xc
test eax, eax
jne 0x46a0e1
mov eax, dword [esi]
push 0x80
push dword [eax + 0xc]
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [esi]
xor edi, edi
cmp dword [ecx + 0x114], 0xffffffff
je 0x46a126
mov edi, edi
mov edx, dword [ecx + 0x11c]
lea eax, [ecx + 0x124]
push 0x80
push eax
push dword [ecx + 0x120]
mov ecx, ebx
call fcn.004546a0
inc edi
mov ecx, edi
imul ecx, ecx, 0x110
add ecx, dword [esi]
add esp, 0xc
cmp dword [ecx + 0x114], 0xffffffff
jne 0x46a0f0
mov eax, dword [ebp - 0x61c]
add esi, 4
cmp esi, 0x55826c
jl 0x46a090
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x46d6a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push edi
call ebx
test eax, eax
jne 0x46d6cb
mov edi, dword [esi + 0xc]
push edi
call ebx
lea eax, [eax*2 + 0x2a]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push 0x43268c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call edi
push 0x3b
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x46d708
xor ecx, ecx
mov word [eax], cx
push esi
call ebx
cmp eax, 3
jge 0x46d718
push 0x40b1cc
push esi
call edi
push 0x4011
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x476750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b681
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53a090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c33c
mov dword [ebp - 4], 7
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x38]
xor edi, edi
sar ebx, 2
test ebx, ebx
jle 0x4767ac
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x4767a7
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, ebx
jl 0x476797
cmp dword [esi + 0xd4], 8
jb 0x4767c3
push dword [esi + 0xc0]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0xd4], 7
mov dword [esi + 0xd0], 0
mov word [esi + 0xc0], ax
cmp dword [esi + 0xbc], 8
jb 0x4767f7
push dword [esi + 0xa8]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0xbc], 7
mov dword [esi + 0xb8], 0
mov word [esi + 0xa8], ax
cmp dword [esi + 0xa4], 8
jb 0x47682b
push dword [esi + 0x90]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], 0
mov word [esi + 0x90], ax
cmp dword [esi + 0x8c], 8
jb 0x47685c
push dword [esi + 0x78]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], 0
lea ecx, [esi + 0x4c]
mov word [esi + 0x78], ax
call fcn.00470460
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4768a3
push eax
call fcn.00510ee0
add esp, 4
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
cmp dword [esi + 0x34], 8
jb 0x4768b4
push dword [esi + 0x20]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], 0
mov word [esi + 0x20], ax
cmp dword [esi + 0x1c], 8
jb 0x4768d9
push dword [esi + 8]
call fcn.00510ee0
add esp, 4
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47cbf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.0047aa1f
imul ecx, dword [edx - 0x26], 0x20
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x47cc0c
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x47cc0c
call fcn.0047aa1f
xor edi, dword [ebx + 0x5a8bc956]
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0047aa1f
fstp xword [ebx + 0x75]
movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.0047b21f
fsubr st(0)
popal
lodsb al, byte [esi]
add byte [eax], al
mov edx, esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.0047c9c0
cmp dword [ebp - 0x14], 8
jb 0x47cc81
push dword [ebp - 0x28]
call fcn.00510ee0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x48a490
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x10]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48a4cf
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.0051119e
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 4
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x48eb90
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x10]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x48ec96
lea eax, [ebp - 0x10]
push eax
call fcn.0051119e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x48ec96
mov eax, dword [edi + 0xc30]
test eax, eax
je 0x48ec96
cmp dword [eax + 0x1c8], 0xfde9
jne 0x48ec96
mov al, byte [ebp + 8]
mov dword [ebp - 0x1c], 0
push 1
test al, al
je 0x48ec21
mov byte [ebp - 0x14], al
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x12], 0
push 2
jmp 0x48ec31
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x13], 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
mov edx, 1
lea ecx, [ebp - 0x18]
call fcn.00493090
mov esi, eax
lea eax, [ebp - 0x1c]
push esi
push eax
mov edx, 1
lea ecx, [ebp - 0x18]
call fcn.004930f0
add esp, 8
cmp esi, 4
jae 0x48ecdd
mov byte [ebp + esi - 0x1c], 0
test esi, esi
jne 0x48ec76
mov esi, 1
mov eax, dword [edi]
push 0
push esi
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x48]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 8]
test al, al
je 0x48ecb3
mov byte [ebp - 0x14], al
mov al, byte [ebp + 0xc]
push 1
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], 0
push 2
lea ecx, [ebp - 0x14]
jmp 0x48ecc4
mov al, byte [ebp + 0xc]
push 0
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0
push 1
lea ecx, [ebp - 0x14]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret 8
call fcn.0050f29e
int3
Function at 0x49aaf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e018
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53a090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi], 0x43d094
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.004cb8b0
fldz
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
mov dword [esi + 0x48], 5
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 0
fst dword [esi + 0x70]
fst dword [esi + 0x74]
mov eax, esi
fst dword [esi + 0x78]
fst dword [esi + 0x7c]
fst dword [esi + 0x80]
fst dword [esi + 0x84]
fst dword [esi + 0x88]
fstp dword [esi + 0x8c]
mov dword [esi + 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c5160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f193
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x53a090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 1
xor ecx, ecx
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], ecx
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [eax + 4], edx
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [eax + 8], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov ecx, esi
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [eax + 0xc], edx
call fcn.004c5630
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.004c5b60
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 4
dec eax
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c89e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f368
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x53a090]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x53a090]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xe58]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, 0xffffffff
jne 0x4c8a3e
mov ecx, ebx
call fcn.004c8750
jmp 0x4c8bad
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [ebx + 0xc44]
call fcn.00491800
mov dword [esp + 0xa0], 0
mov eax, dword [ebx + 0xe58]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x58
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.00518020
mov ecx, dword [ebx + 0xf1c]
xor eax, eax
add esp, 0xc
test ecx, ecx
setle al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ecx
lea eax, [eax*8 + 0x7de]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xe5c]
sub eax, dword [ebx + 0xe60]
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
jae 0x4c8ad2
lea eax, [esp + 0x78]
sub esp, 0x5c
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
mov edi, esp
mov ecx, 0x17
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call dword [eax + 0x70]
cmp byte [ebx + 0xc44], 0
je 0x4c8b97
mov ecx, dword [ebx + 0xe58]
cmp dword [ecx + 4], 0
je 0x4c8b30
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, dword [ebx + 0xe58]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c8b22
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
mov byte [ebx + 0xc44], 0
cmp dword [ebx + 0xf1c], 0
jg 0x4c8b97
mov ecx, dword [ebx + 0xbc8]
mov eax, dword [ebx + 0xba0]
add ecx, ecx
cmp byte [ebx + 0xe66], 0
mov eax, dword [eax + ecx*8]
je 0x4c8b63
mov ecx, dword [ebx + 0xc30]
push 1
push 1
push eax
call fcn.004c1300
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jl 0x4c8b97
cmp dword [esp + 0x8c], 0x10
mov edx, dword [esp + 0x78]
jae 0x4c8b7d
lea edx, [esp + 0x78]
push dword [esp + 0x88]
sub eax, ecx
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004c8040
mov ecx, ebx
call fcn.004a1250
cmp dword [esp + 0x8c], 0x10
jb 0x4c8bad
push dword [esp + 0x78]
call fcn.00510ee0
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x4cd470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [edx]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
shl eax, 7
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x4cd4a1
jmp 0x4cd490
movsx ecx, byte [esi + edx]
imul eax, eax, 0xf4243
inc esi
xor eax, ecx
cmp esi, edi
jb 0x4cd490
imul eax, eax, 0xf4243
xor eax, edi
imul eax, eax, 0xf4243
pop edi
pop esi
xor eax, ebx
pop ebx
pop ebp
ret
Function at 0x4e7ba0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
cmp esi, 0x80
jge 0x4e7bbc
push esi
call fcn.0051149d
add esp, 4
test eax, eax
je 0x4e7bbc
xor al, al
pop esi
ret
cmp esi, 0x2a
je 0x4e7c16
cmp esi, 0x2f
je 0x4e7c16
cmp esi, 0x2d
je 0x4e7c16
cmp esi, 0x2b
je 0x4e7c16
cmp esi, 0x28
je 0x4e7c16
cmp esi, 0x29
je 0x4e7c16
cmp esi, 0x3d
je 0x4e7c16
cmp esi, 0x5e
je 0x4e7c16
cmp esi, 0x5b
je 0x4e7c16
cmp esi, 0x5d
je 0x4e7c16
cmp esi, 0x3c
je 0x4e7c16
cmp esi, 0x26
je 0x4e7c16
cmp esi, 0x3e
je 0x4e7c16
cmp esi, 0x2c
je 0x4e7c16
cmp esi, 0x7c
je 0x4e7c16
cmp esi, 0x7e
je 0x4e7c16
cmp esi, 0x25
je 0x4e7c16
cmp esi, 0x3a
jne 0x4e7bb8
mov al, 1
pop esi
ret