joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406483
Capabilities:
Check for time delay via queryperformancecounter
Get socket status

Disassembly:
jmp 0x49b860
sub esp, 0x12c
push ebx
mov ebx, 1
add dword [0x77e52c], ebx
test byte [0x77e528], 4
je 0x49b892
push sub.WSOCK32.dll_socket
push str.INI_CSPKTWait_Socket__d.
call fcn.0040b947
add esp, 8
call fcn.0040b05a
push ebp
push esi
push edi
mov edi, dword [esp + 0x140]
push edi
call fcn.0040aed4
add esp, 4
test byte [0x77e528], 4
mov esi, eax
je 0x49b8c2
push str.Despues_CSRead_CSPKTHEADER_0_
call fcn.0040b947
add esp, 4
call fcn.0040b05a
add dword [0x77e52c], ebx
xor ebp, ebp
cmp esi, ebp
jg 0x49ba9a
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x49b8e2
xor ebp, ebp
test byte [0x77e528], 4
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 1
je 0x49b94b
push str.Antes___de_Select
call fcn.0040b947
add esp, 4
lea ecx, [esp + 0x20]
push ecx
call ebx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x20]
test edx, edx
mov esi, dword [0x77e52c]
mov dword [0x77e52c], ebp
jge 0x49b92c
fadd dword [0x6ddeec]
fmul dword [0x77e530]
call fcn.006519c0
push eax
push 0x6e2e18
call fcn.0040b947
add esp, 8
mov dword [0x77e52c], esi
mov eax, dword [esp + 0x144]
cmp eax, ebp
je 0x49b96c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], ebp
push ecx
jmp 0x49b974
push ebp
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
push ebp
call sub.WSOCK32.dll_select
test byte [0x77e528], 4
je 0x49b9d4
push str.Despues_de_Select
call fcn.0040b947
add esp, 4
lea eax, [esp + 0x30]
push eax
call ebx
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov esi, dword [0x77e52c]
mov dword [0x77e52c], ebp
jge 0x49b9b5
fadd dword [0x6ddeec]
fmul dword [0x77e530]
call fcn.006519c0
push eax
push 0x6e2e18
call fcn.0040b947
add esp, 8
mov dword [0x77e52c], esi
mov ecx, edi
call fcn.0040de0e
mov esi, eax
cmp esi, 4
jb 0x49ba28
cmp dword [edi + 0x10], 4
jb 0x49ba1b
cmp dword [edi], 0
jne 0x49ba10
push 0xc0c
call fcn.0065014a
push 0x404
mov dword [edi + 8], eax
call fcn.0065014a
add esp, 8
mov dword [edi + 4], eax
mov dword [edi], 1
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x49ba1f
mov eax, dword [esp + 0x14]
sub esi, 4
cmp esi, eax
jb 0x49ba28
mov ebp, eax
test esi, esi
jge 0x49ba2f
or ebp, 0xffffffff
test byte [0x77e528], 4
je 0x49ba8d
push str.Despues_CSRead_CSPKTHEADER_1_
call fcn.0040b947
add esp, 4
lea eax, [esp + 0x28]
push eax
call ebx
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov esi, dword [0x77e52c]
mov dword [0x77e52c], 0
jge 0x49ba6e
fadd dword [0x6ddeec]
fmul dword [0x77e530]
call fcn.006519c0
push eax
push 0x6e2e18
call fcn.0040b947
add esp, 8
mov dword [0x77e52c], esi
test ebp, ebp
jle 0x49b8e0
mov ebx, 1
sub dword [0x77e52c], ebx
test byte [0x77e528], 4
pop edi
pop esi
pop ebp
je 0x49bac3
push sub.WSOCK32.dll_socket
push str.FIN_CSPKTWait_Socket__d.
call fcn.0040b947
add esp, 8
call fcn.0040b05a
sub dword [0x77e52c], ebx
pop ebx
add esp, 0x12c
ret
Function at 0x406f00
Capabilities:
Set socket configuration

Disassembly:
jmp 0x49c740
push 0xffffffffffffffff
push 0x6a2ac9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x74]
push 1
mov ecx, esi
mov dword [esp + 0x70], edi
call fcn.0040a46b
push edi
push 1
push 2
mov dword [esp + 0x78], edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_socket
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
add esp, 8
push edi
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
lea ebx, [esi + 0x18]
push eax
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.0040eacf
lea ecx, [esp + 0x18]
call fcn.0040b348
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00651684
mov edx, dword [esp + 0x24]
push edx
call fcn.00651684
mov eax, dword [esi + 0xc]
add esp, 8
push 4
lea ecx, [esp + 0x14]
push ecx
push 1
push 6
push eax
mov dword [esp + 0x24], 1
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0x24]
push 4
lea edx, [esp + 0x14]
push edx
push 1
push 6
push eax
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x49c866
cmp dword [esi + 0x24], 0xffffffff
jne 0x49c89e
push edi
lea ecx, [esp + 0x34]
mov dword [0x754830], 0xfffffffd
call fcn.0040a46b
mov edi, eax
push edi
mov ecx, esi
call fcn.0040eacf
lea eax, [edi + 0x18]
push eax
mov ecx, ebx
call fcn.0040eacf
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0x30]
call fcn.004091b5
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret
Function at 0x408391
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x49b2a0
sub esp, 0x19c
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x198], eax
lea eax, [esp + 8]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x49b2eb
mov dword [0x754830], 0xfffffffe
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00651675
add esp, 0x19c
ret
push 0x40
push 0x77e4d8
call sub.WSOCK32.dll_gethostname
push 0x77e4d8
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x49b337
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
push 0x77e51c
call fcn.00652860
mov ecx, dword [0x77e51c]
add esp, 0xc
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
push 0x77e498
call fcn.00651689
add esp, 8
push 0x77e4d8
call fcn.006541c7
add esp, 4
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild dword [esp]
mov eax, dword [esp]
test eax, eax
jge 0x49b35e
fadd dword [0x6ddeec]
fdivr qword [0x6e23f8]
mov ecx, dword [esp + 0x198]
xor ecx, esp
mov dword [0x754830], 0
mov dword [0x77e528], 8
fstp dword [0x77e530]
call fcn.00651675
add esp, 0x19c
ret
Function at 0x408e31
Capabilities:
Get number of processors

Disassembly:
jmp 0x4b2730
push 0xffffffffffffffff
push 0x6a5217
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
push str.RUTADEF
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0x30]
call fcn.0040de9a
mov ecx, dword [esi + 0x88]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov dword [esp + 0x100], 0
call fcn.004045d4
mov bl, 2
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], bl
call fcn.00406cda
mov ecx, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x64
lea eax, [esp + 0x8c]
push eax
push 0x4d3
push ecx
call edi
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x14]
call fcn.004024af
lea eax, [esp + 0x10]
push eax
push str.NOMBRE
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 3
call fcn.0040c65d
lea ecx, [esp + 0x10]
mov byte [esp + 0xf8], bl
call fcn.0040934a
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0x147
push 0x4b7
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [eax*4 + 0x755df8]
push edx
lea ecx, [esp + 0x14]
call fcn.004024af
lea eax, [esp + 0x10]
push eax
push str.TIPORUTA
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 4
call fcn.0040c65d
lea ecx, [esp + 0x10]
mov byte [esp + 0xf8], bl
call fcn.0040934a
mov edx, dword [esi + 0x14]
push 0x64
lea ecx, [esp + 0x8c]
push ecx
push 0x4a9
push edx
call edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x14]
call fcn.004024af
lea ecx, [esp + 0x10]
push ecx
push 0x6e4ff4
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 5
call fcn.0040c65d
lea ecx, [esp + 0x10]
mov byte [esp + 0xf8], bl
call fcn.0040934a
lea ecx, [esp + 0x30]
call fcn.00405cf9
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00406cda
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.00651675
add esp, 0xec
ret
Function at 0x4098f4
Capabilities:
Connect socket

Disassembly:
jmp 0x49d190
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
push edi
push 0x10
push ecx
push eax
mov edi, 1
call sub.WSOCK32.dll_connect
test eax, eax
je 0x49d1c7
push esi
call fcn.004033af
add esp, 4
pop edi
mov dword [0x754830], 0xfffffff6
xor eax, eax
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x40a051
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
jmp 0x477600
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
call esi
mov ecx, dword [esp + 4]
sub ecx, dword [0x77c408]
mov edx, dword [esp + 8]
sbb edx, dword [0x77c40c]
cmp dword [0x77c180], 0
mov dword [0x77c408], ecx
mov dword [0x77c40c], edx
je 0x47770e
call fcn.00407e46
mov eax, dword [0x77c23c]
mov ecx, dword [0x77c16c]
mov edx, 0x320
sub edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
mov edx, dword [0x77c170]
jae 0x4776cc
cmp edx, dword [0x77c240]
jae 0x4776cc
mov eax, dword [0x77c228]
imul eax, ecx
mov ecx, dword [0x77c220]
add eax, dword [ecx + edx*4]
je 0x477683
movzx eax, byte [eax]
jmp 0x477685
xor eax, eax
cmp dword [0x77c404], eax
mov ecx, 0x14
jne 0x47769b
sub dword [0x753fc8], 1
jmp 0x4776a1
mov dword [0x753fc8], ecx
cmp eax, dword [0x753990]
mov dword [0x77c404], eax
je 0x4776cc
cmp dword [0x753fc8], 0
jge 0x4776cc
mov dword [0x753990], eax
mov dword [0x77c17c], 2
mov dword [0x753fc8], ecx
lea edx, [esp + 0xc]
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x77c408
call esi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [0x77c408], eax
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov dword [0x77c40c], ecx
sbb ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
push ecx
call esi
pop esi
add esp, 0x10
ret

Function at 0x40ac4f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x60d750
jmp 0x60cd70
sub esp, 0xc
push ebx
push ebp
lea ebx, [ecx + 0x78]
test ebx, ebx
push esi
push edi
je 0x60cd87
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x18], edi
jmp 0x60cd8b
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
nop
mov esi, dword [edi]
cmp esi, 0xffffffff
je 0x60ce0d
mov eax, edi
sub eax, dword [esp + 0x18]
sar eax, 2
cmp eax, dword [ebx + 0xc]
jae 0x60ce0d
test esi, esi
je 0x60cdd9
mov ecx, esi
mov eax, ebp
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x60cdd0
test dl, dl
je 0x60cdcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x60cdd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x60cdb0
xor eax, eax
jmp 0x60cdd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x60cdde
add edi, 4
jmp 0x60cd90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x44]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
cmp edx, dword [eax]
je 0x60ce0d
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x9c], 1
call fcn.0040932c
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov dword [esi + 0x44], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov ecx, dword [ecx + 0x7c]
jmp 0x40af88
Function at 0x40b947
Capabilities:
Print debug messages

Disassembly:
jmp 0x49b440
sub esp, 0x504
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x500], eax
mov edx, dword [0x77e528]
test edx, edx
je 0x49b5eb
mov eax, dword [0x77e554]
test eax, eax
push esi
jne 0x49b4cf
test dl, 1
je 0x49b4cf
xor esi, esi
push esi
lea eax, [esp + 8]
push 0x6e2e00
push eax
call fcn.00651689
lea ecx, [esp + 0x10]
push 0x6e2dfc
push ecx
call fcn.00653f5e
add esp, 0x14
test eax, eax
mov dword [0x77e554], eax
jne 0x49b4b2
lea edx, [esp + 4]
push 0x6e2df8
push edx
call fcn.00653f5e
add esp, 8
jmp 0x49b4bd
push eax
call fcn.00653e1e
add esp, 4
xor eax, eax
add esi, 1
test eax, eax
mov dword [0x77e554], eax
je 0x49b473
mov edx, dword [0x77e528]
mov ecx, dword [0x77e52c]
test ecx, ecx
jge 0x49b4dd
xor ecx, ecx
jmp 0x49b4e7
cmp ecx, 7
jle 0x49b4ed
mov ecx, 7
mov dword [0x77e52c], ecx
test dl, 1
je 0x49b543
xor esi, esi
test ecx, ecx
jle 0x49b51e
jmp 0x49b500
push 0x6e2df4
push eax
call fcn.00653bdf
mov eax, dword [0x77e554]
add esi, 1
add esp, 8
cmp esi, dword [0x77e52c]
jl 0x49b500
mov edx, dword [esp + 0x50c]
lea ecx, [esp + 0x510]
push ecx
push edx
push eax
call fcn.00653b8b
mov edx, dword [0x77e528]
mov ecx, dword [0x77e52c]
add esp, 0xc
test dl, 0xa
je 0x49b5dc
xor esi, esi
test ecx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jle 0x49b588
lea esp, [esp]
push 0x6e2dec
call fcn.0065388f
add esp, 4
test byte [0x77e528], 8
je 0x49b57d
push 0x6e2dec
call edi
add esi, 1
cmp esi, dword [0x77e52c]
jl 0x49b560
mov ecx, dword [esp + 0x510]
lea eax, [esp + 0x514]
push eax
push ecx
call fcn.00653847
mov edx, dword [0x77e528]
add esp, 8
test dl, 8
je 0x49b5db
mov eax, dword [esp + 0x510]
lea edx, [esp + 0x514]
push edx
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.00653699
add esp, 0xc
lea edx, [esp + 0x108]
push edx
call edi
mov edx, dword [0x77e528]
pop edi
test edx, edx
pop esi
je 0x49b5eb
push 0
call fcn.006535c1
add esp, 4
mov ecx, dword [esp + 0x500]
xor ecx, esp
call fcn.00651675
add esp, 0x504
ret

Function at 0x40c3b0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
jmp 0x59f940
push esi
mov esi, dword [esp + 8]
push esi
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x59f990
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.Pyro_StudiosCommandos_
push esi
call edi
push str.OUTPUT_
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
pop edi
jne 0x59f9a9
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x59f9a9
mov byte [esi], 0
pop esi
ret
push str.OUTPUT_
push 0x6e0544
push esi
call fcn.00651689
push esi
call fcn.00680c46
add esp, 0x10
pop esi
ret
Function at 0x40c43c
Capabilities:
Get number of processors

Disassembly:
jmp 0x4b2960
push 0xffffffffffffffff
push 0x6a528c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x5c]
push str.RUTADEF
lea eax, [esp + 0x50]
push eax
call fcn.00401b9a
mov ecx, dword [edi + 0x88]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov dword [esp + 0xe4], 0
call fcn.0040204a
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 2
call fcn.0040934a
push str.TIPORUTA
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.00401b9a
push 0x64
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
mov byte [esp + 0xe4], 3
call fcn.0040470f
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 2
call fcn.0040934a
xor esi, esi
jmp 0x4b2a20
mov ecx, dword [esi*4 + 0x755df8]
lea eax, [esp + 0x6c]
jmp 0x4b2a30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b2a50
test dl, dl
je 0x4b2a4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b2a50
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b2a30
xor eax, eax
jmp 0x4b2a55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b2a63
add esi, 1
cmp esi, 5
jl 0x4b2a20
jmp 0x4b2a7a
mov edx, dword [edi + 0x14]
push 0
push esi
push 0x14e
push 0x4b7
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x6e4ff4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.00401b9a
push 0x64
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
mov byte [esp + 0xe4], 4
call fcn.0040470f
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 2
call fcn.0040934a
mov eax, dword [edi + 0x14]
lea edx, [esp + 0x6c]
push edx
push 0x4a9
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.0040934a
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.00651675
add esp, 0xd4
ret
Function at 0x40cb7b
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x4c0b70
sub esp, 0x1ec
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0x1f4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebp
push esi
push edi
mov edi, dword [esp + 0x200]
push 0
push 0
push 0x14b
mov esi, ecx
mov ecx, dword [esi + 0x14]
push edi
push ecx
mov dword [esp + 0x24], eax
call ebx
mov edx, dword [esi + 0x14]
push 0
push 0
push 0x151
push edi
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push str.DATOSRECURSOSELEM_
call fcn.0062a670
push eax
lea eax, [esp + 0x17c]
push 0x6e6320
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x178]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4c0c8d
lea esp, [esp]
xor eax, eax
mov cl, byte [esp + eax + 0x40]
mov byte [esp + eax + 0x154], cl
add eax, 1
test cl, cl
jne 0x4c0c12
lea eax, [esp + 0x154]
push eax
call fcn.006541c7
lea ecx, [esp + 0x158]
push 0x6e3c90
push ecx
call fcn.00652d00
add esp, 0xc
test eax, eax
je 0x4c0c4d
mov byte [eax], 0
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x154]
push edx
push 0
push 0x143
push edi
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c0c10
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esi + 0x14]
push 0x6e0280
push 0
push 0x143
push edi
push edx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c0cb7
push eax
mov eax, dword [esi + 0x14]
push 0
push 0x14c
push edi
push eax
call ebx
test eax, eax
jl 0x4c0cb7
mov ecx, dword [esi + 0x14]
push 0
push eax
push 0x14e
push edi
push ecx
call ebx
mov ecx, dword [esp + 0x1f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00651675
add esp, 0x1ec
ret 8
Function at 0x40de0e
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x49b150
push ecx
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
push 0x4004667f
push ecx
mov dword [esp + 0x10], 0
call sub.WSOCK32.dll_ioctlsocket
test eax, eax
jne 0x49b1cc
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x49b1b2
cmp dword [esi], eax
jne 0x49b18a
mov ecx, esi
call fcn.0040871f
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x10]
lea edx, [eax + ecx]
cmp edx, 0x404
push 0
ja 0x49b1b8
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
add ecx, eax
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x49b1cc
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
pop esi
pop ecx
ret
mov edx, dword [esi + 4]
mov ecx, 0x404
sub ecx, eax
push ecx
add edx, eax
mov eax, dword [esi + 0xc]
push edx
push eax
jmp 0x49b1a5
or eax, 0xffffffff
pop esi
pop ecx
ret
Function at 0x479840
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x479840
push 0xffffffffffffffff
push 0x6a115b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
lea ebx, [esi + 0x34]
mov ecx, ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
call fcn.00403d8c
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.00402dd3
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x47d840
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x47d840
push 0xffffffffffffffff
push 0x6a1288
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.ClassPSystem.0
call fcn.004098fe
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040848b
fldz
mov dword [esi], vtable.ClassCascada.0
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov eax, 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
fstp dword [esi + 0x40]
mov eax, dword [esp + 0x24]
fld dword [0x6e21d8]
fstp dword [esi + 0x44]
push str.CASCADA
fld dword [eax]
lea ecx, [esi + 0x6c]
fstp dword [esi + 0x48]
mov dword [esp + 0x1c], edi
fld dword [eax + 4]
fstp dword [esi + 0x4c]
mov dword [esi + 0x54], 2
fld dword [esp + 0x2c]
fstp dword [esi + 0x50]
call fcn.0040a123
mov ecx, esi
call fcn.00405bf5
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00409589
mov dword [esi + 0x1c], edi
mov dword [esi + 8], 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x47e500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x47e500
push 0xffffffffffffffff
push 0x6a12e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.ClassPSystem.0
call fcn.004098fe
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.0040848b
fldz
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esi], vtable.ClassFireBolt.0
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov eax, 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x44], ecx
fst dword [esi + 0x48]
fld dword [0x6ddfb4]
push str.FIREBOLT
fstp dword [esi + 0x4c]
lea ecx, [esi + 0x78]
mov dword [esp + 0x34], edi
fst dword [esi + 0x54]
fst dword [esi + 0x50]
fst dword [esi + 0x5c]
fstp dword [esi + 0x58]
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
call fcn.0040a123
lea ebx, [esi + 0x7c]
mov ecx, esi
mov dword [ebx], vtable.sParticleColTab.0
call fcn.00405380
push edi
push edi
mov ecx, esi
call fcn.0040ca7c
mov edi, dword [esp + 0x3c]
mov dword [esi + 8], 3
movzx edx, word [edi]
movzx ecx, word [edi + 2]
movzx eax, word [edi + 4]
mov ebp, edx
or ebp, ecx
or ebp, eax
test bp, bp
jne 0x47e60b
lea ecx, [esp + 0x1a]
push ecx
lea edx, [esp + 0x24]
mov word [esp + 0x1e], 0xff
mov word [esp + 0x20], 0x6c
mov word [esp + 0x22], bp
mov word [esp + 0x24], 0xf6
mov word [esp + 0x26], 0xf3
mov word [esp + 0x28], 0xb4
push edx
jmp 0x47e656
mov word [esp + 0x22], cx
mov word [esp + 0x24], ax
mov word [esp + 0x20], dx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x22]
lea ecx, [eax + eax]
mov word [esp + 0x20], cx
mov ecx, dword [esp + 0x24]
lea eax, [edx + edx]
lea edx, [ecx + ecx]
lea ecx, [esp + 0x20]
mov word [esp + 0x22], ax
mov word [esp + 0x24], dx
call fcn.0040db43
lea ecx, [esp + 0x20]
call fcn.0040db43
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, ebx
call fcn.0040a87b
mov eax, esi
mov dword [esi + 0x1c], 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14