joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef0e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x49c]
test ecx, ecx
je 0x4ef118
mov dword [ebp - 0x34], 1
jmp 0x4ef11f
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
mov esi, esp
push 4
lea eax, [ebp - 0xc]
push eax
push 8
push 0xffff
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, esp
call fcn.00471e55
test eax, eax
jge 0x4ef163
mov edx, dword [ebp + 0xc]
push edx
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
mov eax, dword [ebp + 8]
push eax
call fcn.00470e79
add esp, 0xc
jmp 0x4ef207
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4a0]
push edx
call fcn.004709e2
add esp, 4
mov dword [ebp - 0xc], eax
imul eax, dword [ebp - 0xc], 0x3e8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4a4]
push eax
call fcn.004709e2
add esp, 4
mov dword [ebp - 0xc], eax
imul ecx, dword [ebp - 0xc], 0x3e8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0x98000004
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp esi, esp
call fcn.00471e55
test eax, eax
je 0x4ef207
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00471e55
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
mov ecx, dword [ebp + 8]
push ecx
call fcn.00470e79
add esp, 0x10
push edx
mov ecx, ebp
push eax
lea edx, [0x4ef234]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0x34
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x50ecd0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, esp
push 0xf0000000
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.00471e55
test eax, eax
je 0x50ed1b
mov ecx, dword [ebp + 8]
add ecx, 4
mov esi, esp
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.00471e55
pop esi
cmp ebp, esp
call fcn.00471e55
pop ebp
ret
Function at 0x521120
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
push edi
lea edi, [ebp - 0xa8]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x190]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xa0], 0x80
mov esi, esp
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.00471e55
test eax, eax
jne 0x5211c8
mov dword [ebp - 0xa0], 0x80
mov esi, esp
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_accept]
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047014a
add esp, 8
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5211f9
push str.Error_accept__ing_server_connect
mov ecx, dword [ebp - 8]
push ecx
call fcn.00472a1c
add esp, 8
mov eax, 0x1e
jmp 0x5212ab
push str.Connection_accepted_from_server_n
mov edx, dword [ebp - 8]
push edx
call fcn.00470e79
add esp, 8
mov eax, dword [ebp + 8]
mov byte [eax + 0x370], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx + 0x190], eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004702b2
add esp, 8
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 8]
mov byte [eax + edx + 0x1a0], 1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x198], 0
je 0x5212a9
mov dword [ebp - 0xa8], 0
mov esi, esp
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x19c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x198]
call eax
add esp, 0xc
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x5212a9
mov ecx, dword [ebp + 8]
push ecx
call fcn.00520f30
add esp, 4
mov eax, 0x2a
jmp 0x5212ab
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5212dc]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0xa8
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x524170
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x5241bb
push str.Couldnt_set_desired_mode
mov edx, dword [ebp - 8]
push edx
call fcn.00472a1c
add esp, 8
mov eax, 0x11
jmp 0x524236
cmp dword [ebp + 0xc], 0xc8
je 0x5241d9
mov eax, dword [ebp + 0xc]
push eax
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
mov ecx, dword [ebp - 8]
push ecx
call fcn.00470e79
add esp, 0xc
cmp dword [ebp + 0x10], 0x13
jne 0x5241f0
mov edx, dword [ebp + 8]
push edx
call fcn.00522bb0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x524233
cmp dword [ebp + 0x10], 0x14
jne 0x524207
mov eax, dword [ebp + 8]
push eax
call fcn.00522c60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x524233
cmp dword [ebp + 0x10], 0x15
jne 0x52421e
mov ecx, dword [ebp + 8]
push ecx
call fcn.00522e90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x524233
cmp dword [ebp + 0x10], 0x16
jne 0x524233
mov edx, dword [ebp + 8]
push edx
call fcn.00522ed0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 8
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret

Function at 0x5284d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push esi
push edi
lea edi, [ebp - 0x1a4]
mov ecx, 0x69
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
jne 0x5284f7
mov ecx, 2
mov word [ebp - 0xc], cx
mov esi, esp
lea edx, [ebp - 0x1a0]
push edx
movzx eax, word [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x528544
mov ecx, dword [ebp - 8]
push ecx
push str.WSAStartup_failed___d_
mov edx, dword [ebp + 8]
push edx
call fcn.00472a1c
add esp, 0xc
mov eax, 2
jmp 0x5285b3
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp esi, esp
call fcn.00471e55
movzx eax, word [ebp - 0x1a0]
and eax, 0xff
movzx ecx, al
movzx edx, word [ebp - 0xc]
and edx, 0xff
movzx eax, dl
cmp ecx, eax
jne 0x528599
movzx ecx, word [ebp - 0x1a0]
shr ecx, 8
and ecx, 0xff
movzx edx, cl
movzx eax, word [ebp - 0xc]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp edx, ecx
je 0x5285b1
push str.insufficient_winsock_version_to_support_telnet
mov edx, dword [ebp + 8]
push edx
call fcn.00472a1c
add esp, 8
mov eax, 2
jmp 0x5285b3
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5285e4]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0x1a4
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x528eb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 8], 0xff
mov ecx, 1
shl ecx, 0
mov dl, byte [ebp + 0xc]
mov byte [ebp + ecx - 8], dl
mov eax, 1
shl eax, 1
mov cl, byte [ebp + 0x10]
mov byte [ebp + eax - 8], cl
mov esi, esp
push 0
push 3
lea edx, [ebp - 8]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x528f5a
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
push str.Sending_data_failed___d_
mov edx, dword [ebp - 0x18]
push edx
call fcn.00472a1c
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.SENT
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00528c70
add esp, 0x10
push edx
mov ecx, ebp
push eax
lea edx, [0x528f98]
call fcn.00471914
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x532490
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
lea edi, [ebp - 0x11c]
mov ecx, 0x47
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0047104f
add esp, 4
mov dword [ebp - 0x114], eax
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0x104
jae 0x5324e5
jmp 0x5324ea
call fcn.00470348
mov eax, dword [ebp - 0x118]
mov byte [ebp + eax - 0x10c], 0
cmp dword [ebp - 0x114], 0
je 0x532523
mov esi, esp
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp esi, esp
call fcn.00471e55
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x10c]
test edx, edx
je 0x532558
mov esi, esp
lea eax, [ebp - 0x10c]
push eax
call dword [0x567018]
add esp, 4
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0x11c], eax
jmp 0x532562
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
push edx
mov ecx, ebp
push eax
lea edx, [0x532598]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0x11c
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x539aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 4], 3
jne 0x539acc
mov dword [ebp - 0xc], 1
jmp 0x539ad3
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x539ae2
mov dword [ebp - 0x10], 0
jmp 0x539ae9
mov dword [ebp - 0x10], 1
mov dl, byte [ebp - 0x10]
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
test eax, eax
je 0x539b33
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jne 0x539b07
xor eax, eax
jmp 0x539bb9
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0x10
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 4], eax
jmp 0x539b82
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x539b66
push 0x5730d8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call fcn.00472f8f
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
jne 0x539b66
or eax, 0xffffffff
jmp 0x539bb9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00472783
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x539bb6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x539baa
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call fcn.00470e06
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x541fb0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 8
mov esi, esp
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.00471e55
test eax, eax
jne 0x542001
xor al, al
jmp 0x5420e4
push 0x14
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.0047127a
add esp, 0xc
mov byte [ebp - 0x34], 8
mov byte [ebp - 0x33], 2
mov dword [ebp - 0x30], 0x6601
mov dword [ebp - 0x2c], 8
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00541e10
add esp, 8
push 8
lea ecx, [ebp - 0x28]
push ecx
call fcn.0047205d
add esp, 8
mov esi, esp
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0x14
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
cmp esi, esp
call fcn.00471e55
test eax, eax
jne 0x542083
mov esi, esp
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.00471e55
xor al, al
jmp 0x5420e4
push 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047288c
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
cmp esi, esp
call fcn.00471e55
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp esi, esp
call fcn.00471e55
mov esi, esp
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.00471e55
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x542110]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0x44
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3c205d0b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x55d72f39
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1009104
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009143
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0x10
push 0
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
test eax, eax
jge 0x1009160
cmp eax, 0x80030002
push dword [ebp + 0xc]
jne 0x1009147
push 0x1004f30
push 0x10112a0
call fcn.01009355
add esp, 0xc
xor eax, eax
jmp 0x1009163
push 0x1004ec8
push 0x10112a0
call fcn.01009355
add esp, 0xc
push 1
call fcn.01005eca
mov eax, dword [ebp + 8]
pop ebp
ret 8

Function at 0x1009167
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0xc]
mov esi, 0x10112a0
push 0x1004fe8
push esi
call fcn.01009355
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push 0x10
push 0
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x10]
test eax, eax
jge 0x10091c0
cmp eax, 0x80030002
jne 0x10091a7
xor eax, eax
jmp 0x10091c3
push dword [ebp + 0xc]
push eax
push 0x1004f88
push esi
call fcn.01009355
add esp, 0x10
push 1
call fcn.01005eca
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x100a8f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100a92b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100a912
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100a923
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100a92d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100a908
xor eax, eax
pop edi
pop esi
ret

Function at 0x100aacb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add cl, 0xe0
add ebp, dword [ebx]
inc ebp
adc byte [ebx], al
invalid

Function at 0x100aba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0100a8b0
out 0xa2, al
pop ebx
aam 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x100b198
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x4fffff9], edx
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0100a8c0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0100a875
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0100a8c0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0100a875
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0100a8b0
cmpsd dword [esi], dword es:[edi]
push esi
sbb cl, bl
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0100a8c0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0100a875
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0100a8b0
test al, 0x37
mov dword [0xf99ca580], esp
invalid

Function at 0x100c8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx], ch
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x100c8fa
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x100c8ff
jmp 0x100c252
and dword [ebp - 0x37c], 0
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407358
nop
mov ecx, 0x37b60346
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cdf0
nop
nop
mov ecx, 0x719b4dc9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4039ae
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x40c090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x4012ec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4039df
xor al, al
jmp 0x403a0e
movzx eax, word [ebp - 0x84]
lea edx, [ebp - 0x84]
test eax, eax
je 0x403a0c
mov ecx, dword [0x40c8b8]
and eax, 0x1f
lea edx, [edx + 2]
bts ecx, eax
movzx eax, word [edx]
test eax, eax
jne 0x4039f6
mov dword [0x40c8b8], ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004095e0
leave
ret