joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x403970
Capabilities:
Get hostname

Disassembly:
sub esp, 0x10
mov eax, dword [0x40b1a0]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [str.localhost]
mov ecx, dword [0x4098c8]
mov dx, word [0x4098cc]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.MSVCR90.dll_strchr]
push esi
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
cmp dword [0x40b030], esi
je 0x403a02
cmp dword [0x40bb44], esi
jne 0x403af0
push 0x40
push 0x40b1d0
mov dword [0x40b030], esi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4039fb
push 0x2e
push 0x40b1d0
call ebp
add esp, 8
cmp eax, esi
je 0x4039fb
push 0x40
inc eax
push eax
push 0x40b1d0
call dword [sym.imp.netsnmp.dll_strlcpy]
add esp, 0xc
jmp 0x403a02
mov byte [0x40b1d0], 0
cmp dword [0x40bb44], esi
jne 0x403af0
cmp dword [ebx], esi
je 0x403af6
mov eax, dword [ebx]
push edi
push eax
call fcn.00407c10
mov ecx, dword [ebx]
push ecx
mov edi, eax
call fcn.00407c40
add esp, 8
test eax, eax
jne 0x403a49
push 2
push edi
call fcn.00407c00
add esp, 8
test eax, eax
je 0x403a49
mov esi, dword [eax]
test esi, esi
jne 0x403aef
push 2
push 4
push ebx
call dword [sym.imp.netsnmp.dll_netsnmp_gethostbyaddr]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x403aef
mov edx, dword [edi]
push 0x2e
push edx
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x403aab
mov edx, 0x40b1d0
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x403aa0
test al, al
je 0x403a9c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x403aa0
add ecx, 2
add edx, 2
test al, al
jne 0x403a80
xor eax, eax
jmp 0x403aa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403aab
mov byte [esi], al
mov eax, dword [ebx]
push eax
mov esi, str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x403ae0
test cl, cl
je 0x403adc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x403ae0
add eax, 2
add esi, 2
test cl, cl
jne 0x403ac0
xor eax, eax
jmp 0x403ae5
sbb eax, eax
sbb eax, 0xffffffff
lea esi, [esp + 0x10]
test eax, eax
je 0x403aef
mov esi, dword [edi]
pop edi
mov eax, dword [ebx]
test eax, eax
jne 0x403b0d
push 0x4098b4
push 0x32
push 0x40b210
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0xc
jmp 0x403b5a
test esi, esi
je 0x403b29
push esi
push 0x4091d0
push 0x32
push 0x40b210
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x10
jmp 0x403b5a
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, al
push ecx
mov dword [ebx], eax
movzx edx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
movzx ecx, byte [ebx + 3]
push edx
push eax
push ecx
push str._u._u._u._u
push 0x32
push 0x40b210
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x1c
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x40b210
call fcn.00407c6d
add esp, 0x10
ret
Function at 0x4042f0
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x404395
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x404365
cmp word [ecx + 0xa], 4
jne 0x404365
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x404365
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.00404270
mov dword [esi], eax
test eax, eax
je 0x404389
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x404340
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call dword [sym.imp.MSVCR90.dll_strncpy_s]
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4043a5.11001
jmp dword [eax*4 + 0x4043c8]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x404c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x40b1a0]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x40b244], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x404660
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x404950
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00404610
je 0x404c82
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x40b06c]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00407c6d
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x404d8e
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_strcpy_s]
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call edi
mov ebx, dword [sym.imp.MSVCR90.dll_strcat_s]
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call ebp
mov esi, eax
test esi, esi
je 0x404cff
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x404d4f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call edi
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call ebx
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call ebp
mov esi, eax
test esi, esi
je 0x404d8a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x404d55
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x404d8a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
mov dword [esp + edi*8 + 0x14], eax
test eax, eax
je 0x404d46
inc edi
cmp edi, 3
jl 0x404d57
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x40b06c], edx
mov dword [0x40b074], eax
mov dword [fcn.00404610], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x40b06c]
xor ecx, esp
mov dword [0x40b244], 1
call fcn.00407c6d
add esp, 0x230
ret 4
Function at 0x406120
Capabilities:
Get hostname

Disassembly:
sub esp, 0x424
mov eax, dword [0x40b1a0]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_strchr]
push esi
mov esi, dword [esp + 0x430]
push edi
xor edi, edi
cmp dword [0x40b064], edi
je 0x40619c
cmp dword [0x40bb44], edi
jne 0x406234
push 0x40
push 0x40b250
mov dword [0x40b064], edi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x406195
push 0x2e
push 0x40b250
call ebx
add esp, 8
cmp eax, edi
je 0x406195
push 0x40
inc eax
push eax
push 0x40b250
call dword [sym.imp.netsnmp.dll_strlcpy]
add esp, 0xc
jmp 0x40619c
mov byte [0x40b250], 0
cmp dword [0x40bb44], edi
jne 0x406234
cmp word [esi], di
jne 0x4061d7
cmp word [esi + 2], di
jne 0x4061d7
cmp word [esi + 4], di
jne 0x4061d7
cmp word [esi + 6], di
jne 0x4061d7
cmp word [esi + 8], di
jne 0x4061d7
cmp word [esi + 0xa], di
jne 0x4061d7
cmp word [esi + 0xc], di
jne 0x4061d7
cmp word [esi + 0xe], di
je 0x406234
push ebp
push 0x17
push 0x10
push esi
call dword [sym.imp.netsnmp.dll_netsnmp_gethostbyaddr]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x406233
mov eax, dword [ebp]
push 0x2e
push eax
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x406230
mov edx, 0x40b250
lea ecx, [edi + 1]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x406225
test al, al
je 0x406221
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x406225
add ecx, 2
add edx, 2
test al, al
jne 0x406205
xor eax, eax
jmp 0x40622a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406230
mov byte [edi], al
mov edi, dword [ebp]
pop ebp
cmp word [esi], 0
jne 0x40627a
cmp word [esi + 2], 0
jne 0x40627a
cmp word [esi + 4], 0
jne 0x40627a
cmp word [esi + 6], 0
jne 0x40627a
cmp word [esi + 8], 0
jne 0x40627a
cmp word [esi + 0xa], 0
jne 0x40627a
cmp word [esi + 0xc], 0
jne 0x40627a
cmp word [esi + 0xe], 0
jne 0x40627a
push 0x401
push 0x4098b4
jmp 0x406329
test edi, edi
je 0x406289
push 0x401
push edi
jmp 0x406329
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov ecx, 0x17
mov dword [esp + 0x18], eax
mov eax, dword [0x40b248]
mov word [esp + 0xc], cx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
test eax, eax
jne 0x4062e1
push 1
call fcn.00404c10
mov dword [0x40b248], eax
push 2
push 0
push 0
push 0x401
lea ecx, [esp + 0x38]
push ecx
push 0x1c
lea edx, [esp + 0x24]
push edx
call eax
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
test esi, esi
je 0x40631f
push 0x401
lea eax, [esp + 0x2c]
push 0x409b44
push eax
call dword [sym.imp.netsnmp.dll_strlcpy]
add esp, 0xc
push 0x401
lea ecx, [esp + 0x2c]
push ecx
push 0x40b290
call dword [sym.imp.netsnmp.dll_strlcpy]
mov ecx, dword [esp + 0x438]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x40b290
call fcn.00407c6d
add esp, 0x424
ret
Function at 0x406a20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x40b694]
push esi
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push edi
push eax
push str.usage:__s__snmp_opts____Can____Cf_address_family__n
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x40
push eax
call edi
mov ecx, dword [0x40b694]
add esp, 0xc
push ecx
push str.________s__snmp_opts____CbdgimnrSs____Cf_address_family__n
call esi
add eax, 0x40
push eax
call edi
mov edx, dword [0x40b694]
add esp, 0xc
push edx
push str.________s__snmp_opts____Cbdn____CI_interface____Cw_wait__n
call esi
add eax, 0x40
push eax
call edi
mov eax, dword [0x40b694]
add esp, 0xc
push eax
push str.________s__snmp_opts____Cs____Cp_protocol__n
call esi
add eax, 0x40
push eax
call edi
mov ecx, dword [0x40b694]
add esp, 0xc
push ecx
push str.________s__snmp_opts____Ca____Cf_address_family____Ci___CI_interface__n
call esi
add eax, 0x40
push eax
call edi
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
pop edi
pop esi
int3
Function at 0x406e60
Capabilities:
Terminate process

Disassembly:
sub esp, 0x100
mov eax, dword [0x40b1a0]
xor eax, esp
mov dword [esp + 0xfc], eax
push esi
mov esi, dword [esp + 0x10c]
mov dword [0x40bb38], 0
mov eax, dword [esi]
push 0x2f
push eax
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
test eax, eax
je 0x406ea0
inc eax
mov dword [0x40b694], eax
jmp 0x406ea8
mov ecx, dword [esi]
mov dword [0x40b694], ecx
mov eax, dword [esp + 0x108]
push 0x406ab0
push str.C:iRs
lea edx, [esp + 0xc]
push edx
push esi
push eax
call dword [sym.imp.netsnmp.dll_snmp_parse_args]
add esp, 0x14
cmp eax, 0xfffffffd
je 0x406f12
cmp eax, 0xfffffffe
je 0x406f23
cmp eax, 0xffffffff
je 0x40709b
call dword [sym.imp.netsnmp.dll_winsock_startup]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.netsnmp.dll_snmp_open]
add esp, 4
mov dword [0x40bb30], eax
test eax, eax
jne 0x406f1a
lea edx, [esp + 4]
push edx
push str.snmpnetstat
call dword [sym.imp.netsnmp.dll_snmp_sess_perror]
add esp, 8
call dword [sym.imp.netsnmp.dll_winsock_cleanup]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
cmp dword [0x40bb2c], 0
je 0x406f2b
push 0
call dword [sym.imp.MSVCR90.dll_exit]
cmp dword [0x40bb24], 0
je 0x406f49
mov eax, dword [0x40b698]
mov ecx, dword [eax + 0xc]
call fcn.004068e0
push 0
call dword [sym.imp.MSVCR90.dll_exit]
push 1
call fcn.00407930
push 1
call fcn.00407a20
add esp, 8
cmp dword [0x40bb58], 0
je 0x406f79
mov eax, dword [0x40bb48]
push eax
call fcn.00401bc0
add esp, 4
push 0
call dword [sym.imp.MSVCR90.dll_exit]
cmp dword [0x40bb3c], 0
je 0x406f8f
call fcn.004075a0
push 0
call dword [sym.imp.MSVCR90.dll_exit]
mov eax, dword [0x40bb38]
cmp eax, 2
je 0x406fa1
test eax, eax
jne 0x407046
push 1
call fcn.004079d0
push 1
call fcn.00407980
add esp, 8
call fcn.00407a70
test eax, eax
je 0x40703c
push ebx
cmp dword [0x40b0fc], 0
mov esi, 0x40b0f0
mov dword [0x40b698], esi
je 0x40701e
mov ecx, 0x40b0fc
lea esp, [esp]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x407004
test bl, bl
je 0x407000
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x407004
add ecx, 2
add edx, 2
test bl, bl
jne 0x406fe4
xor ecx, ecx
jmp 0x407009
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x40701e
add esi, 0x10
lea ecx, [esi + 0xc]
mov dword [0x40b698], esi
cmp dword [ecx], 0
jne 0x406fe0
cmp dword [esi + 0xc], 0
je 0x407032
cmp dword [esi], 0
je 0x407032
mov ecx, dword [eax]
mov eax, esi
call fcn.004068e0
call fcn.00407a70
test eax, eax
jne 0x406fc0
pop ebx
call fcn.00407910
mov eax, dword [0x40bb38]
cmp eax, 0x17
je 0x40704f
test eax, eax
jne 0x407093
cmp dword [str.tcp6], 0
mov eax, 0x40b140
mov dword [0x40b698], eax
je 0x407093
cmp dword [0x40bb5c], 0
mov edx, dword [eax + 0xc]
je 0x407073
mov ecx, dword [eax + 8]
jmp 0x407076
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x407085
push edx
call ecx
mov eax, dword [0x40b698]
add esp, 4
add eax, 0x10
mov dword [0x40b698], eax
cmp dword [eax + 0xc], 0
jne 0x407062
push 0
call dword [sym.imp.MSVCR90.dll_exit]
call fcn.00406a20
int3
Function at 0x407200
Capabilities:
Get hostname

Disassembly:
cmp dword [0x40b19c], 0
push ebp
mov ebp, dword [sym.imp.netsnmp.dll_strlcpy]
push esi
mov esi, dword [sym.imp.MSVCR90.dll_strchr]
push edi
je 0x40725a
push 0x40
push 0x40b6e0
mov dword [0x40b19c], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x407253
push 0x2e
push 0x40b6e0
call esi
add esp, 8
test eax, eax
je 0x407253
push 0x40
inc eax
push eax
push 0x40b6e0
call ebp
add esp, 0xc
jmp 0x40725a
mov byte [0x40b6e0], 0
cmp dword [0x40bb44], 0
jne 0x4072da
push 2
lea eax, [esp + 0x14]
push 4
push eax
call dword [sym.imp.netsnmp.dll_netsnmp_gethostbyaddr]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4072da
mov ecx, dword [edi]
push 0x2e
push ecx
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x4072be
mov edx, 0x40b6e0
lea ecx, [esi + 1]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4072b3
test al, al
je 0x4072af
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4072b3
add ecx, 2
add edx, 2
test al, al
jne 0x407293
xor eax, eax
jmp 0x4072b8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4072be
mov byte [esi], al
mov eax, dword [edi]
test eax, eax
je 0x4072da
push 0x40
push eax
push 0x40b720
call ebp
add esp, 0xc
pop edi
pop esi
mov eax, 0x40b720
pop ebp
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, al
push ecx
mov edx, eax
mov ecx, eax
shr edx, 8
and edx, 0xff
push edx
shr ecx, 0x10
and ecx, 0xff
push ecx
mov dword [esp + 0x1c], eax
shr eax, 0x18
push eax
push str._u._u._u._u
push 0x40
push 0x40b720
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x1c
pop edi
pop esi
mov eax, 0x40b720
pop ebp
ret

Function at 0x407880
Capabilities:
Query environment variable

Disassembly:
cmp dword [0x40b7c8], 0
jne 0x407902
push edi
push str.SYSTEMROOT
mov dword [0x40b7c8], 1
call dword [sym.imp.MSVCR90.dll_getenv]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4078ad
mov edi, str.C:WINNT
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078b2
sub eax, edx
mov edx, eax
mov eax, str.SYSTEM32DRIVERSETC_
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078c6
sub eax, esi
lea eax, [eax + edx + 0xb]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [0x40b7ac], eax
pop esi
test eax, eax
je 0x407901
push str.protocol
push str.SYSTEM32DRIVERSETC_
push edi
push str._s_s_s
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
pop edi
ret

Function at 0x407c6d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b1a0]
jne 0x407c77
repz ret
jmp fcn.00407f2e
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2bcdb10
Capabilities:
Get number of processors

Disassembly:
pushfd
or ecx, ecx
pushfd
pushfd
pushfd
push esp
lea esp, [esp + 0x18]
je 0x2bcdda2
add di, 0x4007
pushal
cmp edx, 0xf0a12d1b
add dword [ebp - 4], ecx
cmp dh, 0x64
sub ecx, 8
or bx, si
shld di, cx, 3
inc bl
stc
shr ecx, 1
jmp 0x2bd27e6

Function at 0x2bce9e4
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 8]
ja 0x2bd09d5
cmp cx, 0x2241
call fcn.02bd09cd
add byte [eax], al
push eax
outsd dx, dword [esi]
jae 0x2af7a31
push ecx
jne 0x2af7a29
je 0x2af7a0f
jae 0x2af7a38
popal
add byte gs:[bx + si], al
add byte [ebp + 0x6e], al
jne 0x2af7a3c
inc esp
jbe 0x2af7a3c
arpl word [ebp + 0x44], sp
jb 0x2af7a41
jbe 0x2af7a3f
jb 0x2af7a4f
add byte [eax], al
add byte [edi + 0x65], al
je 0x2af7a33
jb 0x2af7a54
arpl word [ebp + 0x73], sp
jae 0x2af7a32
popal
jo 0x2af79ee
add byte [eax], al
inc esi
imul ebp, dword [esi + 0x64], 0x73726946
je 0x2af7a40
imul ebp, dword [ebp + 0x57], 0x648d9c00
and al, 0x14
ja 0x2bd2343
bswap si
movzx di, cl
mov dh, 0xf9
bswap si
xchg esi, ecx
pop esi
movzx cx, al
call fcn.02bd27cf
or al, byte [eax]
int 0x34
xor al, 0xd
add byte [eax + eax*4 + 0x7a8bcecb], bl
and al, 0x28
fld dword [ecx]
or eax, 0xcb809c00
into
invalid
enter 0xffffffffffffc7f8, 0x45
clc
add byte [eax], al
add byte [eax], al
jmp 0x2af79a3
Function at 0x417ed0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x5fe030]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0x5fe034]
or ecx, eax
mov dword [esp], ecx
fild qword [esp]
fadd qword [0x5fe058]
fstp qword [0x5fe058]
call fcn.00417e10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
cmp ecx, 5
mov eax, edx
jne 0x417f2f
cmp eax, 1
jae 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
ja 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
mov dword [0x600fc8], 0x7f
add esp, 8
ret

Function at 0x4729e7
Capabilities:
Encode data using xor

Disassembly:
mov bl, 2
ror dword [eax], 1
lea edx, [0xf8df1896]
outsb dx, byte [esi]
xchg edi, eax
or eax, 0xe40de2b9
inc ecx
sar byte [eax], 1
in eax, 0x5e
ret 0x5c79
mov bh, 0x16
invalid
cmp byte [esi], al
sub dword [eax], edx
or esi, ecx
js 0x472a06
sub eax, 0x5fbfa41d
push esp
test eax, 0x43b78d76
push ecx
jae 0x4729da
stosb byte es:[edi], al
inc ebp
and cl, ah
loope 0x472a4d
aaa
pop ecx
sub dword [edx - 0x23], edi
jp 0x4729e5
ror byte [ecx - 0x52e618a7], 1
jnp 0x4729fe
and dword [eax], ebp
add byte [ebp + 0x27], dl
pop edx
pop ss
lcall 0x40b5, 0x26c845d5
out 0x99, al
jbe 0x472a54
std
test dword [esi + 0x36], eax
cmpsd dword [esi], dword es:[edi]
push ss
xchg dword [esp + esi*2 - 0x9305a62], esi
jl 0x4729ba
lcall 0xe518, 0x2abe17cb
mov dh, 0x2a
mov dl, 0x54
stosd dword es:[edi], eax
test dword [esp + edx*4], 0x31081682
sbb ebx, edi
jecxz 0x472a4b
xor dword [ebx], ebx
invalid
sti
cmpsd dword [esi], dword es:[edi]
mov ebx, 0x2ca23825
add eax, 0x1a6a52fc
cmp byte [edx + 0x52fc052c], ah
push 0x1a
sbb cl, byte [esi]
push cs
or byte [ecx - 0xc1bdded], dh
xlatb
sub byte [edi + 0x10], 0x47
inc byte [ecx]
xchg byte [ebx + 0x58], al
stc
pushfd
xchg edi, eax
and eax, 0xce8b3353
adc ch, byte [edx + 0x32b27b30]
jg 0x472a10
pop edi
push ss
xchg edi, eax
sti
jae 0x472a87
push 0xa599bd4c
std
push ebp
lcall 0x2ab6, 0x38e6dfe9
dec ebx
in al, dx
sbb bh, bl
cmp byte [esi + 0x1aec4b2a], dh
sti
in eax, 0x1a
out 0x56, eax
mov bl, 0xbd
push esp
xchg esp, eax
and al, 0x4c
pop ebp
or edx, dword ss:[ebx - 5]
push ss
or al, 0x61
inc ebp
inc eax
push ss
sub al, 0xba
stosd dword es:[edi], eax
insb byte es:[edi], dx
dec ebp
mov al, 0x49
jnp 0x472a44
inc edi
cmp eax, 0x5d
adc al, 0xcf
invalid
Function at 0x10001060
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1001c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.10003920
add esp, 0xc
mov dword [ebp - 0x10c], ebx
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100010f2
lea eax, [ebp - 0x108]
push 0x1001a470
push eax
call fcn.10002ed0
pop ecx
pop ecx
test eax, eax
je 0x100010f2
push ebx
push ebx
push ebx
mov byte [eax + 1], bl
lea eax, [ebp - 0x10c]
push ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x108]
mov dword [0x10041030], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100010f2
mov eax, dword [ebp - 0x10c]
mov dword [0x10041030], eax
mov al, 1
jmp 0x100010f4
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10001d07
leave
ret