joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435730
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
cmp dword [ebx + 0x7c], 2
mov ebp, dword [ebx]
je 0x4358f3
cmp byte [ebx + 0x231], 0
push esi
push edi
jne 0x4358a7
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getpeername]
test eax, eax
je 0x4357ab
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00446ce0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.00432380
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push pe_nt_image_headers32
lea eax, [esp + 0x18]
mov dword [esp + 0x14], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getsockname]
test eax, eax
je 0x435806
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00446ce0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.00432380
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [ebx + 0xd8]
push eax
lea esi, [ebx + 0xa8]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00435de0
add esp, 0xc
test al, al
jne 0x435852
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00446ce0
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00432380
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea edi, [ebx + 0x48]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x10c]
push eax
lea eax, [ebx + 0xdc]
push eax
lea eax, [esp + 0x1c]
movsw word es:[edi], word [esi]
push eax
call fcn.00435de0
add esp, 0xc
test al, al
jne 0x4358a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00446ce0
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00432380
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edi, dword [ebx]
lea esi, [ebx + 0xa8]
add edi, 0x8654
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
movsw word es:[edi], word [esi]
mov edi, dword [ebx]
lea esi, [ebx + 0xdc]
add edi, 0x8688
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xd8]
pop edi
pop esi
mov dword [ecx + 0x8684], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10c]
mov dword [ecx + 0x86b8], eax
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x436150
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0x398], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x43619a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00432450
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0x39c]
mov dword [esp + 0x10], 1
call fcn.00440e50
push dword [esi + 0x3a0]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.00440e50
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.DLL_WSAIoctl]
test eax, eax
je 0x436211
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00432450
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x436220
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
mov esi, dword [edi]
movzx eax, byte [esi + 0x29a]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push 6
push dword [esp + 0x20]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x43626b
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
call fcn.00446ce0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00432450
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00432450
add esp, 8
pop edi
pop esi
ret
Function at 0x43d050
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [esi]
test bl, bl
je 0x43d101
mov cl, byte [edi]
test cl, cl
je 0x43d101
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43d07a
jmp dword [eax*4 + 0x43d128]
mov bl, 0x41
jmp case.default.0x43d07a
mov bl, 0x42
jmp case.default.0x43d07a
mov bl, 0x43
jmp case.default.0x43d07a
mov bl, 0x44
jmp case.default.0x43d07a
mov bl, 0x45
jmp case.default.0x43d07a
mov bl, 0x46
jmp case.default.0x43d07a
mov bl, 0x47
jmp case.default.0x43d07a
mov bl, 0x48
jmp case.default.0x43d07a
mov bl, 0x49
jmp case.default.0x43d07a
mov bl, 0x4a
jmp case.default.0x43d07a
mov bl, 0x4b
jmp case.default.0x43d07a
mov bl, 0x4c
jmp case.default.0x43d07a
mov bl, 0x4d
jmp case.default.0x43d07a
mov bl, 0x4e
jmp case.default.0x43d07a
mov bl, 0x4f
jmp case.default.0x43d07a
mov bl, 0x50
jmp case.default.0x43d07a
mov bl, 0x51
jmp case.default.0x43d07a
mov bl, 0x52
jmp case.default.0x43d07a
mov bl, 0x53
jmp case.default.0x43d07a
mov bl, 0x54
jmp case.default.0x43d07a
mov bl, 0x55
jmp case.default.0x43d07a
mov bl, 0x56
jmp case.default.0x43d07a
mov bl, 0x57
jmp case.default.0x43d07a
mov bl, 0x58
jmp case.default.0x43d07a
mov bl, 0x59
jmp case.default.0x43d07a
mov bl, 0x5a
push ecx
call fcn.0043d300
add esp, 4
cmp bl, al
jne 0x43d101
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x43d065
movzx eax, byte [esi]
push eax
call fcn.0043d300
movzx ecx, byte [edi]
mov bl, al
push ecx
call fcn.0043d300
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x43d190
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
test bl, bl
je 0x43d256
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x43d256
test esi, esi
je 0x43d25a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43d1ce
jmp dword [eax*4 + 0x43d28c]
mov bl, 0x41
jmp case.default.0x43d1ce
mov bl, 0x42
jmp case.default.0x43d1ce
mov bl, 0x43
jmp case.default.0x43d1ce
mov bl, 0x44
jmp case.default.0x43d1ce
mov bl, 0x45
jmp case.default.0x43d1ce
mov bl, 0x46
jmp case.default.0x43d1ce
mov bl, 0x47
jmp case.default.0x43d1ce
mov bl, 0x48
jmp case.default.0x43d1ce
mov bl, 0x49
jmp case.default.0x43d1ce
mov bl, 0x4a
jmp case.default.0x43d1ce
mov bl, 0x4b
jmp case.default.0x43d1ce
mov bl, 0x4c
jmp case.default.0x43d1ce
mov bl, 0x4d
jmp case.default.0x43d1ce
mov bl, 0x4e
jmp case.default.0x43d1ce
mov bl, 0x4f
jmp case.default.0x43d1ce
mov bl, 0x50
jmp case.default.0x43d1ce
mov bl, 0x51
jmp case.default.0x43d1ce
mov bl, 0x52
jmp case.default.0x43d1ce
mov bl, 0x53
jmp case.default.0x43d1ce
mov bl, 0x54
jmp case.default.0x43d1ce
mov bl, 0x55
jmp case.default.0x43d1ce
mov bl, 0x56
jmp case.default.0x43d1ce
mov bl, 0x57
jmp case.default.0x43d1ce
mov bl, 0x58
jmp case.default.0x43d1ce
mov bl, 0x59
jmp case.default.0x43d1ce
mov bl, 0x5a
push ecx
call fcn.0043d300
add esp, 4
cmp bl, al
jne 0x43d256
mov bl, byte [edi + 1]
inc edi
dec esi
inc ebp
test bl, bl
jne 0x43d1b0
test esi, esi
jne 0x43d264
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
movzx eax, byte [edi]
push eax
call fcn.0043d300
movzx ecx, byte [ebp]
mov bl, al
push ecx
call fcn.0043d300
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x43d300
Capabilities:
Parse pe header

Disassembly:
mov cl, byte [esp + 4]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43d30f
jmp dword [eax*4 + 0x43d368]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret
Function at 0x43d3d0
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
jb 0x43d47c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
sub edi, edx
lea esp, [esp]
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43d3fd
jmp dword [eax*4 + 0x43d480]
mov cl, 0x41
jmp case.default.0x43d3fd
mov cl, 0x42
jmp case.default.0x43d3fd
mov cl, 0x43
jmp case.default.0x43d3fd
mov cl, 0x44
jmp case.default.0x43d3fd
mov cl, 0x45
jmp case.default.0x43d3fd
mov cl, 0x46
jmp case.default.0x43d3fd
mov cl, 0x47
jmp case.default.0x43d3fd
mov cl, 0x48
jmp case.default.0x43d3fd
mov cl, 0x49
jmp case.default.0x43d3fd
mov cl, 0x4a
jmp case.default.0x43d3fd
mov cl, 0x4b
jmp case.default.0x43d3fd
mov cl, 0x4c
jmp case.default.0x43d3fd
mov cl, 0x4d
jmp case.default.0x43d3fd
mov cl, 0x4e
jmp case.default.0x43d3fd
mov cl, 0x4f
jmp case.default.0x43d3fd
mov cl, 0x50
jmp case.default.0x43d3fd
mov cl, 0x51
jmp case.default.0x43d3fd
mov cl, 0x52
jmp case.default.0x43d3fd
mov cl, 0x53
jmp case.default.0x43d3fd
mov cl, 0x54
jmp case.default.0x43d3fd
mov cl, 0x55
jmp case.default.0x43d3fd
mov cl, 0x56
jmp case.default.0x43d3fd
mov cl, 0x57
jmp case.default.0x43d3fd
mov cl, 0x58
jmp case.default.0x43d3fd
mov cl, 0x59
jmp case.default.0x43d3fd
mov cl, 0x5a
mov byte [edi + edx], cl
mov al, byte [edx]
inc edx
test al, al
je 0x43d47b
dec esi
jne 0x43d3f0
pop edi
pop esi
ret
Function at 0x442ee0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push dword [esp + 0x108]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x442f29
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x442f29
lea eax, [esp]
push eax
call dword [0x459d00]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret
Function at 0x447d70
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.DLL_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x447f03
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x447eed
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x447dbf
lea ebx, [eax + 0xe]
jmp 0x447dcb
cmp eax, 0x17
jne 0x447e7a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x447e7a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x447e7a
cmp eax, ebx
jb 0x447e7a
push 0x20
call dword [0x459cf4]
mov esi, eax
add esp, 4
test esi, esi
je 0x447ee2
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x459cf4]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x447ed1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x447e65
push eax
call dword [0x459d00]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x447eb7
test ebp, ebp
jne 0x447e6b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x447e76
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x447db2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x447e99
push eax
call dword [sym.imp.WS2_32.DLL_freeaddrinfo]
test ebx, ebx
je 0x447ee9
push ebp
call fcn.00447d30
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x459cf8]
push esi
call dword [0x459cf8]
add esp, 8
jmp 0x447e89
push esi
mov ebx, 8
call dword [0x459cf8]
add esp, 4
jmp 0x447e89
mov ebx, 8
jmp 0x447e89
test ebp, ebp
jne 0x447ef9
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x448350
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x264], 2
je fcn.00448300
mov al, 1
ret
Function at 0x44dccd
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x45bdf4], 0
push ebx
push esi
mov esi, 0x45bdfc
jne 0x44dcf9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x45be14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x45bdf4], 1
push dword [0x45be14]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x44dd96
push 0x14
push 8
push dword [0x45b2ac]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x44ddc0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45bdf8]
test eax, eax
je 0x44dd3b
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x45bdf8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x44ddc5
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x45be14]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x45b2ac]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44ddc0
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x30aa3516
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x556f4268
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x404e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x1a8]
push esi
push ebx
sub esp, 0x2dc
mov dword [esp], 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov esi, eax
mov eax, 0x104
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
cmp esi, 0xffffffff
mov ebx, eax
je 0x405091
test ebx, ebx
jle 0x404ed0
mov dword [esp], edi
lea ebx, [ebp - 0x2b8]
mov dword [esp + 4], ebx
call sub.msys_1.0.dll_cygwin_conv_to_posix_path
test eax, eax
je 0x404fc4
nop
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edi, pe_nt_image_headers32
lea ecx, [ebp + 0xc]
mov dword [esp + 4], edi
lea edi, [ebp - 0x98]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
call sub.msys_1.0.dll_vsnprintf
cmp byte [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x19], 0
je 0x404fd0
mov dword [esp], esi
xor ecx, ecx
lea eax, [ebp - 0x2bc]
mov dword [esp + 0x10], ecx
mov ebx, 0x18
mov edx, str.Cygwin_runtime_failure:
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x2b8]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, ebx
jmp 0x404f50
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x404f50
and edx, 0x8080
jne 0x404f76
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], ebx
add al, al
lea eax, [ebp - 0x2bc]
sbb ecx, 3
sub ecx, ebx
xor edx, edx
mov dword [esp + 0x10], edx
xor ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, 2
mov edx, 0x4074f4
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x2bc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
jmp 0x405019
mov byte [ebp - 0x2b8], 0
jmp 0x404ed0
mov dword [esp], esi
xor ebx, ebx
mov ecx, str.Cygwin_runtime_failure:
mov dword [esp + 0x10], ebx
mov eax, 0x18
lea ebx, [ebp - 0x2bc]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
xor edx, edx
mov eax, 0x12
mov dword [esp + 0x10], edx
mov ecx, str._unknown_module_:
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sub.KERNEL32.dll_WriteFile
mov edx, dword [ebp - 0x2c0]
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, 1
mov edx, 0x4074f7
mov dword [esp + 8], ecx
xor eax, eax
mov dword [esp + 4], edx
mov dword [esp], esi
mov esi, 0xe0000269
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0xe
call sub.msys_1.0.dll_cygwin_internal
call sub.msys_1.0.dll_abort
mov dword [esp], 0xe
mov edx, 1
mov ecx, 0xe0000269
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.msys_1.0.dll_cygwin_internal
jmp 0x404eaa
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219