joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, 0x7fffffff
cmp eax, 0x7fffffff
cmovb edx, eax
push 0
push edx
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x408d70
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, eax
xor eax, eax
cmp ecx, 0x274a
jne 0x408d7a
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
ret
mov dword [esi + 4], ecx
mov dword [esi], 0
mov eax, esi
pop esi
ret

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

Disassembly:
push esi
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edx, 0x7fffffff
cmp ecx, 0x7fffffff
cmovb edx, ecx
push 0
push edx
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x408dc3
mov cl, 4
jmp 0x408dd5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
pop esi
ret

Function at 0x40a640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x40b200
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x43e9b9]
push 4
push 8
call fcn.004053a0
add esp, 8
test eax, eax
je 0x40a72b
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x40a7a0
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x40a6bd
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x40a718
mov eax, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x40a6e3
mov dword [ebp - 0x10], 1
push dword [ebp - 0x24]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
test eax, eax
je 0x40a6fd
push dword [edx + 8]
push eax
push ecx
call fcn.004053b0
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.004053b0
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.0042e9ad
add esp, 8
ud2
Function at 0x40bba0
Capabilities:
Resolve dns

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1b8
mov ebx, dword [esp + 0x1d4]
mov esi, dword [esp + 0x1cc]
mov edi, dword [esp + 0x1d0]
mov edx, ebx
jmp 0x40bbd4
cmp edx, ebx
ja 0x40bc19
push edx
push edi
push 0x3a
call fcn.0041e0f0
add esp, 0xc
cmp eax, 1
jne 0x40bbf4
cmp edx, ebx
jae 0x40bbd0
cmp byte [edi + edx], 0x3a
jne 0x40bbd0
lea eax, [edx + 1]
jmp 0x40bbf8
test al, 1
je 0x40bc19
sub ebx, eax
mov ebp, edx
add eax, edi
push ebx
push eax
call fcn.0041c540
add esp, 8
test al, 1
je 0x40bc37
mov byte [esi + 4], 2
mov dword [esi + 8], 0x4315a0
jmp 0x40bc24
mov byte [esi + 4], 2
mov dword [esi + 8], 0x431580
mov dword [esi], 1
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
shr eax, 0x10
mov word [esp + 2], ax
mov eax, dword [0x43ea38]
cmp eax, 3
jne 0x40bd0f
lea eax, [esp + 2]
cmp ebp, 0x17f
mov dword [esp + 8], eax
ja 0x40bd30
lea ebx, [esp + 0x38]
push ebp
push edi
push ebx
call fcn.00421750
add esp, 0xc
mov byte [esp + ebp + 0x38], 0
inc ebp
lea eax, [esp + 0xc]
push ebp
push ebx
push eax
call fcn.0041ed30
add esp, 0xc
test byte [esp + 0xc], 1
je 0x40bc9f
mov eax, dword [0x431270]
mov ecx, dword [0x431274]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
jmp 0x40bc24
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
lea ecx, [esp + 4]
mov dword [esp + 4], 0
lea edx, [esp + 0x18]
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x20], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x40bcf3
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x40bc2a
mov eax, dword [esp + 4]
movzx ecx, word [esp + 2]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x40bc2a
push 0x43ea38
call fcn.0042e37b
add esp, 4
lea eax, [esp + 2]
cmp ebp, 0x17f
mov dword [esp + 8], eax
jbe 0x40bc61
lea eax, [esp + 8]
push 0x4315ac
push eax
push ebp
push edi
push esi
call fcn.0042e550
add esp, 0x14
jmp 0x40bc2a
Function at 0x40ca40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
lea ebx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
test cl, 1
lea ecx, [esp + 0x20]
cmovne edx, ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x40cac0
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x40cae2
test eax, eax
js 0x40cacc
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x40cad5
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x2c], 0x4317d8
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
push eax
push ecx
push esi
call fcn.0040d4c0
add esp, 0xc
mov ecx, esi
call fcn.0040a320
mov ecx, 7
int 0x29
ud2

Function at 0x40cb40
Capabilities:
Create udp socket

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, 2
cmp byte [eax], 0
mov eax, 0x17
cmovne ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x40cb83
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x40cb97
cmp eax, 0x2739
jne 0x40cbc2
push 1
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x40cbca
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x40cbdb
mov dword [esi + 4], edi
jmp 0x40cb7a
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x40cb7d
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x40cb7d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x40cb7d
Function at 0x40ec90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x40f0e0
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0
cmp esi, 0x201
jae 0x40ed20
jmp 0x40ed0e
jbe 0x40edb4
cmp esi, 0x201
jae 0x40ed20
mov dword [ebp - 0x34], 0x200
lea edi, [ebp - 0x444]
mov ebx, esi
jmp 0x40ed5b
mov ebx, dword [ebp - 0x20]
mov eax, ebx
sub esi, ebx
sub eax, ebx
cmp esi, eax
jbe 0x40ed4f
mov dword [ebp - 0x10], 0
push 2
push 2
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042e410
add esp, 0x14
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x40ed7f
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x40ee17
cmp esi, ebx
jne 0x40ed00
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40ee36
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x40ed0e
jmp 0x40ed20
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x40ee53
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call fcn.0040f150
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40ee01
add eax, eax
push 2
push eax
push dword [ebp - 0x28]
call fcn.004053b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40edf1
jmp 0x40ee01
mov dword [ebp - 0x10], 0
push 0x432408
push 0x28
push 0x4323e0
call fcn.0042eb00
add esp, 0xc
jmp 0x40ee62
push 0x4323d0
push eax
push esi
call fcn.0042ed80
add esp, 0xc
ud2
Function at 0x40eea0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x43c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x40f0f0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov esi, 0x200
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 2
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp esi, 0x201
jae 0x40ef30
jmp 0x40ef1e
jbe 0x40efc7
cmp esi, 0x201
jae 0x40ef30
mov dword [ebp - 0x34], 0x200
lea edi, [ebp - 0x448]
mov ebx, esi
jmp 0x40ef6b
mov ebx, dword [ebp - 0x20]
mov eax, ebx
sub esi, ebx
sub eax, ebx
cmp esi, eax
jbe 0x40ef5f
mov dword [ebp - 0x10], 0
push 2
push 2
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042e410
add esp, 0x14
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push edi
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x40ef92
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x40f02a
cmp esi, ebx
jne 0x40ef10
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40f049
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x40ef1e
jmp 0x40ef30
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x40f066
lea eax, [ebp - 0x48]
push esi
push edi
push eax
call fcn.0040f150
add esp, 0xc
movsd xmm0, qword [ebp - 0x48]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x40]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40f014
add eax, eax
push 2
push eax
push dword [ebp - 0x28]
call fcn.004053b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x43c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40f004
jmp 0x40f014
mov dword [ebp - 0x10], 0
push 0x432408
push 0x28
push 0x4323e0
call fcn.0042eb00
add esp, 0xc
jmp 0x40f075
push 0x4323d0
push eax
push esi
call fcn.0042ed80
add esp, 0xc
ud2
Function at 0x41f5d4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x41f613
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f613
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f613
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f613
cmp dword [ecx + 0x74], 0xe
jbe 0x41f613
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4269a9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x426a46
push ebx
push esi
call fcn.00426972
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004268bb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4269f3
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x426a45
push edi
push eax
call fcn.004275a9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x426a13
call fcn.004254e4
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x426a44
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004268bb
add esp, 0x20
test eax, eax
jne 0x426a32
push edi
call fcn.004254e4
jmp 0x426a3a
push ebx
call fcn.004254e4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x427d2c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4375b8
push 0x4375b0
push str.FlsAlloc
push 0x1e
call fcn.00427bed
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427d60
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f200]
call esi
jmp 0x427d66
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x427daa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4375c8
push 0x4375c0
push str.FlsGetValue
push 0x20
call fcn.00427bed
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427de1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f200]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]
Function at 0x42d260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d28d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d28d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x19e61de0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
mov ecx, 0x7ab764a2
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x80039fd
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043a0], 0x30
mov dword [0x80043a8], 0x80032e8
mov dword [0x80043a4], 2
mov dword [0x80043ac], 0
mov dword [0x80043b0], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003a40
mov dword [0x80043b4], eax
mov dword [0x80043c8], 0x80041d4
mov dword [0x80043c0], 0xf
mov dword [0x80040f6], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043b8], eax
mov dword [0x80043cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040fe], ebp
mov dword [0x80043bc], eax
push 0x80043a0
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004420], eax
push 0
push dword [0x80040f6]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004418], eax
push 1
push dword [0x8004418]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004418]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003afe
xor edi, edi
lea ebx, [0x80043d0]
jmp 0x8003b16
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003b08
jmp 0x8003b2a
mov eax, dword [0x80043d8]
call 0x80029cd
ret
Function at 0x402ed7
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4966d4]
mov ecx, dword [0x496640]
sub esp, 0x808
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x402f7b
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x4966d4], 0x5d
jne 0x402f6d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x402308
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0x402310
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push edi
call fcn.00402681
add edi, 8
dec ebx
jne 0x402eff
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40653c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e3b8]
jne 0x406546
repz ret
jmp fcn.00408485

Function at 0x407cde
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405f73
and dword [ebp - 4], 0
cmp dword [0x45624c], 0
mov ebx, eax
jne 0x407d8f
push 0x401964
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407e40
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401958
push edi
call esi
test eax, eax
je 0x407e40
push eax
call fcn.00405f01
mov dword [esp], 0x401948
push edi
mov dword [0x45624c], eax
call esi
push eax
call fcn.00405f01
mov dword [esp], 0x401934
push edi
mov dword [0x456250], eax
call esi
push eax
call fcn.00405f01
mov dword [esp], 0x401918
push edi
mov dword [0x456254], eax
call esi
push eax
call fcn.00405f01
pop ecx
mov dword [0x45625c], eax
test eax, eax
je 0x407d8f
push 0x401900
push edi
call esi
push eax
call fcn.00405f01
pop ecx
mov dword [0x456258], eax
mov eax, dword [0x456258]
cmp eax, ebx
je 0x407de7
cmp dword [0x45625c], ebx
je 0x407de7
push eax
call fcn.00405f7c
push dword [0x45625c]
mov esi, eax
call fcn.00405f7c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407de7
test edi, edi
je 0x407de7
call esi
test eax, eax
je 0x407dde
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407dde
test byte [ebp - 0xc], 1
jne 0x407de7
or dword [ebp + 0x10], 0x200000
jmp 0x407e20
mov eax, dword [0x456250]
cmp eax, ebx
je 0x407e20
push eax
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e20
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407e20
mov eax, dword [0x456254]
cmp eax, ebx
je 0x407e20
push eax
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e20
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45624c]
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407e42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret