joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413e90
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0xf4
lea eax, [esp + 0x54]
push ebx
push eax
push 0xa0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x58]
push str.pcard_language.ini
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x58]
xor ebx, ebx
push edx
mov dword [esp + 8], ebx
call fcn.00413e50
add esp, 4
test eax, eax
je 0x413f40
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push edi
mov esi, 0x436ba0
mov edi, 0x4445a0
push ebx
lea eax, [esp + 0x18]
push str.text_d
push eax
mov dword [edi], esi
call ebp
add esp, 0xc
lea ecx, [esp + 0x64]
lea edx, [esp + 0x14]
push ecx
push 0x200
push esi
push 0
push edx
push str.pcard_text_string
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x413f18
inc dword [esp + 0x10]
add edi, 4
inc ebx
add esi, 0x200
cmp edi, 0x444754
jl 0x413ee1
mov eax, dword [esp + 0x10]
pop edi
pop esi
cmp eax, 0x6d
pop ebp
jne 0x413f40
mov dword [0x422828], 0x4445a0
pop ebx
add esp, 0xf4
ret
Function at 0x414db0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x429560
push 0
push str.Software_vp_eyePhoto_Cards
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x414de7
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0x4306a0
push 3
push 0
push str.MailMode
push edx
call esi
mov eax, dword [esp + 4]
push 0x80
push 0x430ce0
push 1
push 0
push str.MailServer
push eax
call esi
mov ecx, dword [esp + 4]
push 0x80
push 0x435f40
push 1
push 0
push str.UserAccount
push ecx
call esi
mov edx, dword [esp + 4]
push 0x80
push 0x435ec0
push 1
push 0
push str.UserName
push edx
call esi
mov eax, dword [esp + 4]
push 0x80
push 0x430d80
push 1
push 0
push str.FromAdr
push eax
call esi
mov ecx, dword [esp + 4]
push 0x80
push 0x430c40
push 1
push 0
push str.ToAdr
push ecx
call esi
mov edx, dword [esp + 4]
push 0xc8
push 0x4305d8
push 1
push 0
push str.UserPassword
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x4305d4
push 3
push 0
push str.CheckPassword
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x414ed0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x430d60], eax
call dword [0x430b04]
mov edx, dword [0x4305d4]
xor ecx, ecx
test edx, edx
setne cl
test eax, eax
mov dword [0x430874], eax
mov dword [0x430878], ecx
jne 0x414efc
ret
push 0x43086c
push 0
push 0
push 0x415e80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x430870], eax
jne 0x414f23
mov dword [0x43086c], eax
ret
mov eax, 1
ret

Function at 0x414f50
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push 1
push 0
push 0
push 0
push 1
push 2
call dword [0x430b0c]
cmp eax, 0xffffffff
mov dword [0x4281b4], eax
jne 0x414f72
mov eax, 1
ret
push 0x430ce0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x414fa3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push esi
mov edx, ecx
push edi
mov esi, dword [eax]
mov edi, 0x430cc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x414fc6
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2af9
jne 0x414fb6
mov eax, 2
ret
push 0x430ce0
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [0x430cc4], eax
push 0x19
mov word [0x430cc0], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [0x430cc2], ax
mov eax, dword [0x4281b4]
push 0x10
push 0x430cc0
push eax
call dword [sym.imp.WSOCK32.dll_connect]
xor eax, eax
ret
Function at 0x415200
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push esi
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x415403
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
mov edi, eax
push esi
push ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov al, byte [esp + 0xb8]
fild dword [esp + 0x10]
cmp al, 0x42
jne 0x41534a
fmul qword [0x41f440]
fcom qword [0x41f438]
fnstsw ax
test ah, 0x40
je 0x415282
fstp st(0)
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x40540000
jmp 0x415290
fld qword [0x41f430]
fdiv st(1)
fstp qword [esp + 0x1c]
fstp st(0)
cmp edi, esi
mov dword [esp + 0x10], esi
jle 0x415338
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
fild dword [esp + 0x10]
push 0
fmul qword [esp + 0x20]
fadd qword [0x41f428]
call fcn.004188fc
mov ecx, dword [0x430d60]
push eax
push 0x402
push ecx
call ebp
cmp edi, 0x39
push 0
jle 0x4152e1
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push 0x39
push eax
jmp 0x4152ec
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edi
push edx
push ebx
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00415000
mov ecx, dword [esp + 0xc8]
push eax
lea eax, [esp + 0x70]
push eax
push ecx
call fcn.00415130
add esp, 0x18
test eax, eax
je 0x4153e6
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub edi, edx
inc ecx
test edi, edi
mov dword [esp + 0x10], ecx
jg 0x4152a8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
fdivr qword [0x41f428]
cmp edi, esi
mov dword [esp + 0x10], esi
fstp qword [esp + 0x1c]
jle 0x415338
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
fild dword [esp + 0x10]
push 0
fmul qword [esp + 0x20]
call fcn.004188fc
push eax
mov eax, dword [0x430d60]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x1f]
push 1
push edx
push ebx
call ebp
cmp dword [esp + 0x18], 1
jne 0x4153aa
mov al, byte [esp + 0x17]
mov byte [esp + esi + 0x24], al
inc esi
cmp al, 0xa
jne 0x415385
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x24]
push esi
push eax
push ecx
call fcn.00415130
add esp, 0xc
test eax, eax
je 0x4153e6
mov ecx, dword [esp + 0x10]
sub edi, esi
add ecx, esi
test edi, edi
mov dword [esp + 0x10], ecx
jg 0x415362
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x43086c]
push 0
push 0
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret
Function at 0x415c00
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [0x4281b4]
sub esp, 0x10c
lea eax, [esp + 0xc]
push ebp
push esi
mov esi, dword [sym.imp.WSOCK32.dll_recv]
xor ebp, ebp
push edi
push ebp
push 0x100
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x18]
push 5
lea eax, [esp + 0x10]
push edx
push eax
call edi
cmp byte [esp + 0xf], 0x2d
jne 0x415c84
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x17], 0x20
call fcn.00418ce0
add esp, 8
test eax, eax
jne 0x415c84
mov ecx, dword [0x4281b4]
push ebp
lea eax, [esp + 0x1c]
push 0x100
push eax
push ecx
call esi
lea edx, [esp + 0x18]
push 5
lea eax, [esp + 0x10]
push edx
push eax
call edi
cmp byte [esp + 0xf], 0x2d
je 0x415c40
mov esi, dword [esp + 0x11c]
mov byte [esp + 0xf], 0
mov al, byte [esi]
cmp al, 0xff
jne 0x415cc1
push 0x4286c8
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415e0f
mov edx, dword [0x43086c]
push ebp
push ebp
push 0x4c9
push edx
jmp 0x415e09
cmp al, 0x64
jne 0x415cf0
lea eax, [esp + 0xc]
push 0x4286c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415e0f
mov dword [0x430878], ebp
mov byte [esi], 0
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
cmp al, 0x65
jne 0x415d1f
lea ecx, [esp + 0xc]
push 0x4286c4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415e0f
mov dword [0x430878], ebp
mov byte [esi], 0
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
cmp al, 0x66
jne 0x415d52
lea edx, [esp + 0xc]
push 0x4286c0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415d4a
mov dword [0x430878], ebp
mov byte [esi], 0
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
mov byte [esi], 0
jmp 0x415e0f
test al, al
jne 0x415d98
mov eax, dword [0x430878]
push 0x4286bc
cmp eax, 1
jne 0x415c9b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415d8b
mov dword [0x430878], ebp
mov byte [esi], 0
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
mov byte [esi], 0x64
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
cmp al, 3
jne 0x415dc0
lea eax, [esp + 0xc]
push 0x4286b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415e0f
mov ecx, dword [0x43086c]
push ebp
push ebp
push 0x4c9
push ecx
jmp 0x415e09
cmp al, 5
jne 0x415de8
lea edx, [esp + 0xc]
push 0x4286b4
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push ebp
push ebp
jne 0x415dfe
mov ecx, dword [0x43086c]
push 0x4c8
push ecx
jmp 0x415e09
lea edx, [esp + 0xc]
push 0x4286bc
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x415e0f
push ebp
push ebp
mov eax, dword [0x43086c]
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov al, byte [esi]
cmp al, 5
jne 0x415e22
mov byte [esi], 0xff
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
inc al
pop edi
mov byte [esi], al
pop esi
pop ebp
add esp, 0x10c
ret
Function at 0x416790
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push 0
push eax
lea ecx, [esp + 0x10]
push 2
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x430b3c]
mov eax, dword [0x4308d8]
add ecx, 2
test eax, eax
mov dword [0x430b3c], ecx
je 0x4167d1
mov eax, dword [esp + 8]
push eax
call fcn.00416780
add esp, 4
pop ecx
ret
mov ax, word [esp + 8]
pop ecx
ret

Function at 0x416810
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push 0
push eax
lea ecx, [esp + 0x10]
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x430b3c]
mov eax, dword [0x4308d8]
add ecx, 4
test eax, eax
mov eax, dword [esp + 8]
mov dword [0x430b3c], ecx
je 0x41684f
push eax
call fcn.004167e0
add esp, 4
pop ecx
ret

Function at 0x416860
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push 0xc
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x430b3c]
mov eax, dword [0x4308d8]
add ecx, 0xc
test eax, eax
mov dword [0x430b3c], ecx
je 0x4168c7
mov dx, word [esi]
push edx
call fcn.00416780
mov word [esi], ax
mov ax, word [esi + 2]
push eax
call fcn.00416780
mov ecx, dword [esi + 4]
mov word [esi + 2], ax
push ecx
call fcn.004167e0
mov edx, dword [esi + 8]
mov dword [esi + 4], eax
push edx
call fcn.004167e0
add esp, 0x10
mov dword [esi + 8], eax
pop esi
ret
Function at 0x416e60
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x428838]
push ebx
cmp eax, 1
push esi
jne 0x416e8d
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
movsx ecx, si
push 0
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x416f03
mov eax, dword [0x430b10]
push ebp
push edi
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x416eaa
push edi
call fcn.00416df0
mov eax, dword [0x430b10]
add esp, 4
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jge 0x416ee6
movsx edx, ax
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push ebx
push edi
call ebp
movsx eax, word [0x430b10]
push edi
sub esi, eax
call fcn.00416df0
mov eax, dword [0x430b10]
add esp, 4
cmp eax, esi
jl 0x416ebc
movsx edx, si
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push ebx
push edi
call ebp
mov eax, dword [0x430b10]
pop edi
sub eax, esi
pop ebp
mov dword [0x430b10], eax
cmp dword [0x4308e0], 1
jne 0x416f16
push esi
push ebx
call fcn.00416750
add esp, 8
pop esi
pop ebx
ret
Function at 0x417770
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x417789
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x41779e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call fcn.00417730
mov bp, ax
mov eax, dword [esi]
and ebp, 0xffff
add esp, 4
shl ebp, 2
add eax, ebp
push 0
add eax, esi
push 0x80
push 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4177f2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov word [esp + 0x18], 0x4d42
mov eax, dword [esi + 4]
inc eax
mov ecx, dword [esi + 0x20]
mov edx, dword [esi]
lea edi, [eax + eax*2]
and edi, 0xfffc
lea eax, [edx + ecx*4]
imul edi, dword [esi + 8]
lea ecx, [eax + edi + 0xe]
xor eax, eax
mov dword [esp + 0x1a], ecx
mov word [esp + 0x1e], ax
mov word [esp + 0x20], ax
mov edx, dword [esi]
push eax
lea eax, [esp + 0x1c]
lea ecx, [edx + ebp*4 + 0xe]
lea edx, [esp + 0x14]
push edx
push 0xe
push eax
push ebx
mov dword [esp + 0x36], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x10]
push 0
lea edx, [ebp*4 + 0x28]
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ecx
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret

Function at 0x417890
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
push eax
push edi
push ecx
call fcn.00417770
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4178b6
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop edi
pop esi
ret
Function at 0x4185b0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.WS2_32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x20
mov dword [0x435e88], eax
jae 0x4185cd
mov eax, 2
pop esi
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSACreateEvent
push eax
call esi
test eax, eax
mov dword [0x430b04], eax
jne 0x4185eb
mov eax, 4
pop esi
ret
mov eax, dword [0x435e88]
push str.WSASetEvent
push eax
call esi
test eax, eax
mov dword [0x430af0], eax
jne 0x418608
mov eax, 4
pop esi
ret
mov ecx, dword [0x435e88]
push str.WSASocketA
push ecx
call esi
test eax, eax
mov dword [0x430b0c], eax
jne 0x418626
mov eax, 4
pop esi
ret
mov edx, dword [0x435e88]
push str.WSAGetOverlappedResult
push edx
call esi
test eax, eax
mov dword [0x430b00], eax
jne 0x418644
mov eax, 4
pop esi
ret
mov eax, dword [0x435e88]
push str.WSAWaitForMultipleEvents
push eax
call esi
test eax, eax
mov dword [0x430af4], eax
jne 0x418661
mov eax, 4
pop esi
ret
mov ecx, dword [0x435e88]
push str.WSASend
push ecx
call esi
test eax, eax
mov dword [0x430aec], eax
jne 0x41867f
mov eax, 4
pop esi
ret
mov edx, dword [0x435e88]
push str.WSAEnumNetworkEvents
push edx
call esi
test eax, eax
mov dword [0x430afc], eax
jne 0x41869d
mov eax, 4
pop esi
ret
mov eax, dword [0x435e88]
push str.WSACloseEvent
push eax
call esi
test eax, eax
mov dword [0x430af8], eax
jne 0x4186ba
mov eax, 4
pop esi
ret
mov ecx, dword [0x435e88]
push str.WSAEventSelect
push ecx
call esi
mov dword [0x430b08], eax
pop esi
neg eax
sbb eax, eax
and al, 0xfc
add eax, 4
ret
Function at 0x41b3e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x428e58
cmp edx, dword [eax]
je 0x41b40b
add eax, 8
inc ecx
cmp eax, 0x428ee8
jl 0x41b3fc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x428e58]
jne 0x41b539
mov eax, dword [0x430900]
cmp eax, 1
je 0x41b513
test eax, eax
jne 0x41b43c
cmp dword [0x428a04], 1
je 0x41b513
cmp edx, 0xfc
je 0x41b539
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b473
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041bb60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b4b6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41f778
push edi
call fcn.0041cf50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041bb60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041bb70
lea eax, [ebp - 0xa0]
push 0x41f758
push eax
call fcn.0041bb70
push dword [esi + 0x428e5c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041bb70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041ceb8
add esp, 0x2c
pop edi
jmp 0x41b539
lea eax, [ebp + 8]
lea esi, [esi + 0x428e5c]
push 0
push eax
push dword [esi]
call fcn.0041c190
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 0x4111f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x499ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048df04
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411272
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048b50d
mov eax, dword [eax]
push 0x4c61f4
push eax
call fcn.0047d674
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048e18f
test bl, bl
je 0x411272
push 0x4c61f4
lea ecx, [esp + 0xc]
call fcn.0048e51f
push 0x4c9d6c
lea ecx, [esp + 0xc]
call fcn.0048e51f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4112ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048e18f
jmp 0x411379
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x411332
lea edx, [esp + 0x7c]
push 0x4c9d68
push edx
call fcn.0047d674
add esp, 8
test eax, eax
je 0x411332
lea eax, [esp + 0x7c]
push 0x4c9d64
push eax
call fcn.0047d674
add esp, 8
test eax, eax
je 0x411332
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4112c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048e18f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411b90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411bf2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x411c00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x499e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4da300]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x411d38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411c66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e18f
xor eax, eax
jmp 0x411daf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048e2cc
push esi
lea ecx, [esp + 0xc]
call fcn.0048e55b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x411d8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00411b90
test eax, eax
jne 0x411d8d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00411b90
test eax, eax
jne 0x411d8d
lea eax, [esp + 0x14]
push 0x4c9d80
push eax
call fcn.0047e7c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411d6c
lea ecx, [esp + 0x14]
push 0x4c9d7c
push ecx
call fcn.0047e740
mov esi, eax
add esp, 8
test esi, esi
jne 0x411d6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411d6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048e27c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411c7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e18f
xor eax, eax
jmp 0x411daf
mov byte [esi], 0
push 0x4c9d78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048e18f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4