joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bbd10
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100bbd2a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x10335ad8
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x100bbd73
test ebp, ebp
je 0x100bbd64
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x100bbd99
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100bbd99
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x100bbe4f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bbdb6
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x10449040]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100bbe45
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100bbe45
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bbde8
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bbe00
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x100bbe10
test ebp, ebp
je 0x100bbe3c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x10449044]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x10449044]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x100bf950
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100bf964
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov al, byte [eax + 0xe7]
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x100bf978
xor al, al
ret
push eax
push 0
call fcn.100b9f60
add esp, 8
mov al, 1
ret
Function at 0x100c3d10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x34
mov eax, dword [0x10449004]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x48]
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push edi
push 6
push 1
push 2
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x18], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x100c3ef6
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [esp + 0x20], xmm0
mov word [esp + 0x18], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x18], eax
xor eax, eax
push 4
mov word [esp + 0x1a], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push edi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x100c3ee4
push 0x10
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100c3ee4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x100c3ee4
push 1
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x100c3ee4
push 0
push 1
push 2
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x100c3ee4
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100c3ee4
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x100c3ee4
push ebx
push 0x10336a78
lea eax, [esp + 0x2c]
push 0xc
push eax
call fcn.100bc140
lea esi, [esp + 0x34]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100c3e42
push 0
sub esi, ecx
lea eax, [esp + 0x28]
push esi
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x100c3ee4
push 0
push 0xc
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x100c3ee4
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
sub esi, 4
jb 0x100c3e97
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100c3e9c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100c3e86
cmp esi, 0xfffffffc
je 0x100c3ec9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100c3ee4
cmp esi, 0xfffffffd
je 0x100c3ec9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100c3ee4
cmp esi, 0xfffffffe
je 0x100c3ec9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100c3ee4
cmp esi, 0xffffffff
je 0x100c3ec9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100c3ee4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100ab082
add esp, 0x34
ret
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push edi
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
mov ecx, dword [esp + 0x3c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ab082
add esp, 0x34
ret
Function at 0x100c7b50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push esi
xor esi, esi
mov dword [esp + 4], esi
mov dword [eax], esi
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 0x100c7d02
push ebx
mov ebx, dword [esp + 0xc]
push edi
test ebx, ebx
je 0x100c7cec
push ebp
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x100c7b9f
lea ebp, [eax + 0xe]
jmp 0x100c7bab
cmp eax, 0x17
jne 0x100c7c59
lea ebp, [eax + 5]
cmp dword [ebx + 0x18], 0
je 0x100c7c59
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100c7c59
cmp eax, ebp
jb 0x100c7c59
push 0x20
call dword [0x10449040]
mov edi, eax
add esp, 4
test edi, edi
je 0x100c7ce1
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0xc]
push ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebp
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
call dword [0x10449040]
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x100c7cd0
push ebp
push dword [ebx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x14]
add esp, 0xc
test eax, eax
je 0x100c7c45
push eax
call dword [0x1044904c]
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
je 0x100c7cb6
mov eax, dword [esp + 0x10]
test esi, esi
cmove esi, edi
test eax, eax
je 0x100c7c55
mov dword [eax + 0x1c], edi
mov dword [esp + 0x10], edi
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x100c7b92
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x100c7c78
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x100c7ce8
test esi, esi
je 0x100c7ca5
push dword [esi + 0x18]
call dword [0x10449044]
push dword [esi + 0x14]
call dword [0x10449044]
mov edi, dword [esi + 0x1c]
push esi
call dword [0x10449044]
add esp, 0xc
mov esi, edi
test edi, edi
jne 0x100c7c80
mov eax, dword [esp + 0x28]
xor esi, esi
pop edi
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
add esp, 0xc
ret
push dword [edi + 0x18]
mov ebx, 8
call dword [0x10449044]
push edi
call dword [0x10449044]
add esp, 8
jmp 0x100c7c68
push edi
mov ebx, 8
call dword [0x10449044]
add esp, 4
jmp 0x100c7c68
mov ebx, 8
jmp 0x100c7c68
test esi, esi
jne 0x100c7cf8
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x100c7ff0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x100c8012
cmp eax, 0xffffffff
jne 0x100c8014
xor eax, eax
ret
Function at 0x100cb830
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x10449048]
mov edi, eax
add esp, 8
test edi, edi
je 0x100cb887
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x100cb89f
cmp esi, ebx
je 0x100cb89f
cmp esi, 0x8000
ja 0x100cb89f
cmp esi, ebx
jb 0x100cb898
push esi
push edi
call dword [0x10449048]
mov edi, eax
add esp, 8
test edi, edi
jne 0x100cb850
push ebp
call dword [0x10449044]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x10449044]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100d1100
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x10449004]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push eax
mov ebp, dword [edi + 0x424]
or esi, 0xffffffff
mov ebx, dword [edi]
push ebp
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x100d1162
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
push ebp
push edi
call fcn.100b9f60
add esp, 8
cmp esi, 0xffffffff
jne 0x100d1186
push str.Error_accept__ing_server_connect
push ebx
call fcn.100b9380
add esp, 8
mov eax, 0x1e
jmp 0x100d11f5
push str.Connection_accepted_from_server_n
push ebx
call fcn.100b9460
push 1
push esi
mov byte [edi + 0x514], 0
mov dword [edi + 0x424], esi
call fcn.100c3f10
add esp, 0x10
mov byte [edi + 0x7f0], 1
cmp dword [ebx + 0x610], 0
je 0x100d11f3
push 1
push ebx
call fcn.100b0fe0
mov eax, dword [ebx + 0x610]
push 1
push esi
push dword [ebx + 0x614]
call eax
push 0
push ebx
mov esi, eax
call fcn.100b0fe0
add esp, 0x1c
test esi, esi
je 0x100d11f3
push edi
call fcn.100d1690
add esp, 4
mov eax, 0x2a
jmp 0x100d11f5
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ab082
add esp, 0x88
ret
Function at 0x100d8490
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
mov byte [esp + 0x16], al
lea eax, [esp + 0x14]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x420]
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x100d84dc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.100b9380
add esp, 0xc
push dword [esp + 0x18]
push ebx
push str.SENT
push dword [esi]
call fcn.100d80a0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ebx, dword [eax + 0x14c]
jne 0x100d876e
push ebp
push edi
lea ebp, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], ebp
cmp ebp, edi
jae 0x100d866e
lea eax, [ebp + 1]
mov byte [ebp], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x100d866e
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d866e
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov edx, dword [esp + 0x1c]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x100d86d9
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1eb4], eax
sub eax, ebp
sub eax, 2
mov dword [edi], ebp
push eax
lea eax, [ebx + 0x1cb2]
push eax
push 0x3e
push esi
call fcn.100d81a0
mov edi, dword [esp + 0x28]
add esp, 0x10
push 0
push 3
push ebp
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x100d872d
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.100b9380
add esp, 0xc
push 4
lea eax, [ebx + 0x1cb3]
push eax
push edi
call fcn.100d8500
add esp, 0xc
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x100d876b
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.100b9380
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100eae70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x10449040]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100eae97
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x100eaee2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x100eaee6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100eaf46
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x100eaf05
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x100eaf77
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push str.6Unknown_exception
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x1033d6e7
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x100eaf50
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap esi
rol eax, 4
dec ebx
neg edi
add edx, 0x88
sbb esi, 0x98
or edi, 0xd1
or esi, 0x47
imul eax
mov ebx, 0xe0
not edx
not edx
sub edx, 0x64
bswap edx
imul ebx
bswap ebx
dec eax
inc edx
sbb eax, 0xd6
dec edx
bswap eax
sbb edx, 0xa7
neg esi
sbb edi, 0x1a
bswap ebx
and ebx, 0x23
rcl ebx, 0x3b
neg edx
ror esi, 0x13
sub ebx, 0xe6
rol edi, 0xea
mov esi, 0x9e
not eax
bswap ebx
dec edi
rcl edx, 0xca
inc ebx
rcl edi, 0xbd
and eax, 0x80
and eax, 0x8e
dec eax
inc edx
bswap ebx
dec edx
and edx, 0xe0
ror edi, 0xa7
not edi
or edi, 0xb3
sub esi, 0xdc
imul eax
xor ecx, ecx
xor edi, edi
add ebx, 0xcc
rcl edi, 0xe9
not ebx
imul esi
imul edx
rcr esi, 0x98
rol edi, 0xb2
rcl edx, 0xd9
and esi, 0x7f
inc esi
mov esi, 0x5c
and esi, 0xc
rcr edi, 0xd2
dec edi
neg ebx
sbb esi, 0x20
inc edx
rcr eax, 0xf5
bswap eax
sub esi, 0x81
imul eax
bswap esi
and edi, 0x7f
add ebx, 0xae
imul eax
not edi
neg ebx
sub edx, 0xec
neg esi
mov ebx, 0x50
add ebx, 0x5b
neg ebx
inc ebx
dec esi
not edi
dec edx
or edx, 0xeb
not edi
inc edx
or esi, 0x6c
dec esi
bswap edx
ror eax, 0x4c
and ebx, 0x52
sub ebx, 0xe6
mov eax, 2
dec edx
bswap edi
sub ebx, 0x9f
neg eax
mov ecx, dword [ebp + 0xc]
neg eax
bswap ebx
neg edx
bswap esi
not edx
not edx
rcr eax, 0xaa
dec edi
or eax, 0xdf
and edi, 0x97
rol esi, 0x6d
rol edx, 0x5c
sub edx, 0x1a
not edx
rcl ebx, 0xa2
not edx
mov edi, 0x22
rcr eax, 0x22
rcl eax, 0x2e
sbb edi, 0xcf
sbb eax, 0x2f
dec ebx
sbb eax, 0xd4
rcr eax, 0x91
bswap eax
neg esi
inc ebx
mov ebx, 0x6b
sbb ebx, 0x3b
ror edi, 0x4c
ror edi, 0xa3
neg esi
or edi, 0xa3
inc eax
bswap edi
rcl esi, 0xb3
rcr eax, 0x16
not edx
bswap edx
ror edi, 0x28
mov ebx, 0x24
bswap ebx
inc edi
sbb eax, 0xa6
ror edi, 0x9c
rol esi, 0x9c
rcr ebx, 0xa6
inc eax
neg esi
mov esi, 0x98
mov edi, dword [ebp + 8]
xor ebx, eax
mov esi, eax
xor esi, esi
not byte [edi]
mov ebx, ebx
mov eax, eax
xor ebx, esi
xor ebx, ebx
mov ebx, ebx
xor eax, ebx
mov esi, eax
xor esi, ebx
mov ebx, eax
add byte [edi], 0x26
xor eax, esi
mov ebx, eax
xor eax, eax
mov eax, eax
mov esi, ebx
xor eax, ebx
mov esi, esi
mov eax, esi
mov ebx, esi
sub byte [edi], 0x86
xor ebx, ebx
mov eax, esi
mov ebx, esi
xor esi, eax
xor esi, ebx
xor ebx, esi
mov eax, ebx
xor eax, esi
xor esi, eax
imul byte [edi]
inc edi
loop 0x4013ea
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4062a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449e64]
jne 0x4062b2
repz ret
jmp fcn.00408bc5
Function at 0x40aba3
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.00406329
and dword [ebp - 4], 0
cmp dword [0x44b758], 0
mov ebx, eax
jne 0x40ac54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ad05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ad05
push eax
call fcn.004062b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b758], eax
call esi
push eax
call fcn.004062b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b75c], eax
call esi
push eax
call fcn.004062b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b760], eax
call esi
push eax
call fcn.004062b7
pop ecx
mov dword [0x44b768], eax
test eax, eax
je 0x40ac54
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004062b7
pop ecx
mov dword [0x44b764], eax
mov eax, dword [0x44b764]
cmp eax, ebx
je 0x40acac
cmp dword [0x44b768], ebx
je 0x40acac
push eax
call fcn.00406332
push dword [0x44b768]
mov esi, eax
call fcn.00406332
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40acac
test edi, edi
je 0x40acac
call esi
test eax, eax
je 0x40aca3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aca3
test byte [ebp - 0xc], 1
jne 0x40acac
or dword [ebp + 0x10], 0x200000
jmp 0x40ace5
mov eax, dword [0x44b75c]
cmp eax, ebx
je 0x40ace5
push eax
call fcn.00406332
pop ecx
test eax, eax
je 0x40ace5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ace5
mov eax, dword [0x44b760]
cmp eax, ebx
je 0x40ace5
push eax
call fcn.00406332
pop ecx
test eax, eax
je 0x40ace5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b758]
call fcn.00406332
pop ecx
test eax, eax
je 0x40ad05
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ad07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4dc1f11
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x63cb29d5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219