joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0xddce6c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xddce76
pushal
call 0xddce7c
pop ebp
sub ebp, 0x10
sub ebp, 0x9dce6c
jmp 0xddce92
mov eax, 0x9dce6c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0xe79e0445
xor byte [eax], dl
inc eax
dec ecx
jne 0xddcea9
jmp 0xddcebc
into
mov dh, cl
int3
Function at 0x100150c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10069008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x28], edi
mov eax, dword [edi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.100165d8
mov byte [ebp - 4], 1
mov ecx, dword [0x1006b090]
mov eax, dword [0x1006be5c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x10015157
push ecx
lea ecx, [ebp - 0x18]
call fcn.100165d8
cmp dword [0x1006b090], 0
jne 0x10015146
mov eax, dword [0x1006b078]
inc eax
mov dword [0x1006b078], eax
mov dword [0x1006b090], eax
lea ecx, [ebp - 0x18]
call fcn.10016630
mov ecx, dword [0x1006b090]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [edi + 0xc]
jae 0x1001516c
mov eax, dword [edi + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
jne 0x10015201
jmp 0x1001516e
xor esi, esi
cmp byte [edi + 0x14], 0
je 0x10015187
call fcn.10019f4a
mov esi, dword [ebp - 0x24]
cmp esi, dword [eax + 0xc]
jae 0x1001518b
mov eax, dword [eax + 8]
mov esi, dword [eax + esi*4]
test esi, esi
jne 0x10015201
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10015196
mov esi, eax
jmp 0x10015201
push 0x18
call fcn.100155a4
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100151b3
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.100039d0
lea eax, [ebp - 0x3c]
mov dword [esi + 4], 0
push eax
mov dword [esi], vtable.std::ctype_char_.0
call fcn.1001a54c
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
call fcn.10003a80
mov dword [ebp - 0x14], esi
push esi
mov byte [ebp - 4], 3
call fcn.10019f1e
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x1006be5c], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.10016630
mov eax, dword [esi]
mov ecx, esi
push 0x20
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [edi]
mov ecx, edi
mov byte [ebp - 0x1d], al
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x10015230
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015557
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e6ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xa0
mov eax, 0x10052642
call fcn.10050251
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
push dword [edi + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
call fcn.10003bf0
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.1001c21b
or dword [ebp - 4], 0xffffffff
mov esi, eax
pop ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], esi
call fcn.10003c10
mov ecx, dword [esi]
lea eax, [ebp - 0x7c]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10054248]
mov ecx, dword [ebp - 0xa8]
call esi
push dword [edi + 0x30]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 1
call fcn.10003bf0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
call fcn.1001b9f5
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
mov edi, eax
call fcn.10003c10
mov ecx, dword [edi]
lea eax, [ebp - 0x4c]
push eax
push 0x100559a9
push 0x1005598c
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x10054248]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x84]
mov ecx, ebx
mov edi, dword [ebp - 0x9c]
push esi
mov byte [ebp - 0x7e], 0
call fcn.10027a2d
test al, al
jne 0x1001e7ee
cmp byte [ebx + 4], al
jne 0x1001e7b7
mov ecx, ebx
call fcn.10022a4c
movzx eax, word [ebx + 6]
cmp ax, word [ebp - 0x1e]
jne 0x1001e7c8
mov eax, edi
mov byte [eax], 0x2b
jmp 0x1001e7e4
cmp byte [ebx + 4], 0
jne 0x1001e7d9
mov ecx, ebx
call fcn.10022a4c
movzx eax, word [ebx + 6]
cmp ax, word [ebp - 0x20]
jne 0x1001e7ee
mov eax, edi
mov byte [eax], 0x2d
mov ecx, ebx
lea edi, [eax + 1]
call fcn.100218fc
xor eax, eax
mov word [edi], 0x7830
add edi, 2
mov byte [ebp - 0x7d], al
push esi
mov ecx, ebx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
call fcn.10027a2d
test al, al
jne 0x1001e87c
cmp byte [ebx + 4], al
jne 0x1001e825
mov ecx, ebx
call fcn.10022a4c
movzx eax, word [ebx + 6]
cmp ax, word [ebp - 0x4c]
jne 0x1001e87c
mov ecx, ebx
call fcn.100218fc
push esi
mov ecx, ebx
call fcn.10027a2d
test al, al
jne 0x1001e878
cmp byte [ebx + 4], al
jne 0x1001e84e
mov ecx, ebx
call fcn.10022a4c
movzx eax, word [ebx + 6]
cmp ax, word [ebp - 0x1a]
je 0x1001e86f
cmp byte [ebx + 4], 0
jne 0x1001e869
mov ecx, ebx
call fcn.10022a4c
movzx eax, word [ebx + 6]
cmp ax, word [ebp - 0x1c]
jne 0x1001e878
mov ecx, ebx
call fcn.100218fc
jmp 0x1001e87c
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp - 0xac]
xor eax, eax
cmp dword [ecx], 0x3b9aca00
setne al
dec eax
and eax, 0x2dc
add eax, 0x24
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x94], eax
jb 0x1001e8b4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov al, byte [eax]
cmp al, 0x7f
je 0x1001ebd8
test al, al
jle 0x1001ebd8
invalid
jge 0x1001e85d
Function at 0x10042aaf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10042760

Function at 0x10042aba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100428ea

Function at 0x10046da5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10046a22
Function at 0x45960b
Capabilities:
Terminate process

Disassembly:
call fcn.00459618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404010
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x404060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x4c
lea eax, [ebp - 0x34]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.kernel32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40412b
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x4040b1
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x40
je 0x404099
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x40]
cmp ecx, 4
je 0x4040a9
cmp ecx, 0x40
je 0x4040a9
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00404010
lea esi, [esi]
lea edi, [edi]
Function at 0x406150
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
and esp, 0xfffffff0
sub esp, 0x410
call fcn.004043b0
call fcn.00401834
call sub.kernel32.dll_GetCommandLineA
cmp byte [eax], 0x22
jne 0x40618e
inc eax
mov dword [esp + 4], 0x22
mov dword [esp], eax
call sub.msvcrt.dll_strchr
lea edx, [eax + 1]
lea ecx, [eax + 2]
cmp byte [eax + 1], 0
jmp 0x4061a8
mov dword [esp + 4], 0x20
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov edx, section..rdata
lea ecx, [eax + 1]
test eax, eax
cmovne edx, ecx
mov dword [esp], edx
call fcn.00403aa0
cmp eax, 0xb7
jne 0x4061f2
xor al, al
mov ecx, 0x100
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x10]
mov dword [esp + 4], edi
mov dword [esp], 0x69
call fcn.004019de
mov dword [esp], edi
call fcn.00401843
call fcn.00401691
mov eax, 2
jmp 0x4062a4
dec eax
je 0x406204
call fcn.004018a6
mov eax, 1
jmp 0x4062a4
mov dword [esp], 0x1f
lea edi, [esp + 0x10]
call fcn.00401ad8
mov dword [0x40b008], eax
mov dword [esp + 4], edi
mov dword [esp], 1
mov dword [esp + 0x10], 0
call fcn.00403cd7
test eax, eax
jne 0x40623c
call fcn.004018a6
jmp 0x40627a
cmp dword [0x40b008], 0
je 0x40626a
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40626a
mov eax, dword [0x40b064]
test eax, eax
je 0x40626a
mov dword [esp + 8], edx
mov dword [esp + 4], str.Exit_code:_t_d__restarting_the_application__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [0x40b008], 0
je 0x40627a
cmp dword [esp + 0x10], 0
jne 0x406219
mov eax, dword [0x40b064]
test eax, eax
je 0x40629b
mov edx, dword [esp + 0x10]
mov dword [esp + 4], str.Exit_code:_t_d_n
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_fprintf
call fcn.00401691
mov eax, dword [esp + 0x10]
mov edi, dword [ebp - 4]
leave
ret
Function at 0x402c4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test dword [ebp + 0x10], 0x8000
jne 0x402c94
push 2
push 0
push 0x40000000
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.00401979
add esp, 0x14
test eax, eax
jl 0x402c94
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401907
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push 0xa
push 0x1001
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
jne 0x401925
jmp 0x401b16
mov dword [0x403c74], eax
push eax
push 0
call sub.kernel32.dll_SizeofResource
or eax, eax
jne 0x40193b
jmp 0x401b16
mov dword [0x403c78], eax
push dword [0x403c74]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
jne 0x401956
jmp 0x401b16
mov dword [0x403c7c], eax
push eax
call sub.kernel32.dll_LockResource
or eax, eax
jne 0x40196a
jmp 0x401b16
mov dword [0x403c80], eax
mov ebx, eax
mov dword [ebp - 8], eax
push 0x10
push ebx
push 0x403450
call sub.kernel32.dll_RtlMoveMemory
add ebx, 0x10
mov eax, dword [0x403c78]
sub eax, 0x10
push eax
push ebx
call fcn.00401a90
mov eax, dword [ebx]
add ebx, 4
mov dword [0x410684], eax
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x401a09
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 8
push dword [0x403c70]
call sub.kernel32.dll_HeapAlloc
mov dword [0x410690], eax
push dword [ebp - 4]
push ebx
push dword [0x410690]
call sub.kernel32.dll_RtlMoveMemory
add ebx, dword [ebp - 4]
mov eax, dword [ebx]
add ebx, 4
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 8
push dword [0x403c70]
call sub.kernel32.dll_HeapAlloc
mov dword [0x410694], eax
push dword [ebp - 4]
push ebx
push dword [0x410694]
call sub.kernel32.dll_RtlMoveMemory
add ebx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [0x410698], eax
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [0x41069c], eax
cmp dword [0x41069c], 2
jne 0x401a43
mov eax, dword [ebx]
add ebx, 4
mov dword [0x4106a8], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [0x4106a0], eax
cmp dword [0x4106a0], 1
jne 0x401a43
mov eax, dword [ebx]
add ebx, 4
mov dword [0x4106a4], eax
mov eax, dword [ebx]
mov dword [0x4106b0], eax
add ebx, 4
mov ecx, ebx
sub ecx, dword [ebp - 8]
mov eax, dword [0x403c78]
sub eax, ecx
mov dword [0x41068c], eax
push dword [0x41068c]
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov dword [0x410688], eax
push dword [0x41068c]
push ebx
push dword [0x410688]
call sub.kernel32.dll_RtlMoveMemory
push dword [0x403c7c]
call sub.kernel32.dll_FreeResource
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405b98
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x5a4d
push ebx
mov ebx, dword [ebp + 8]
cmp word [ebx], ax
je 0x405bb4
or eax, 0xffffffff
jmp 0x405d0d
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
je 0x405bca
or eax, 0xffffffff
jmp 0x405d0c
mov eax, 0x20b
cmp word [esi + 0x18], ax
lea eax, [esi + 0x88]
je 0x405bde
lea eax, [esi + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
push ecx
push esi
mov dword [ebp - 0x1c], eax
call fcn.00406214
or edi, 0xffffffff
mov dword [ebp - 8], eax
cmp eax, edi
je 0x405d09
push dword [ebp + 0xc]
mov ecx, dword [eax + ebx + 0x18]
push dword [eax + ebx + 0x1c]
mov dword [ebp - 0xc], ecx
push esi
call fcn.00406214
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push dword [eax + ebx + 0x24]
push esi
call fcn.00406214
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax + ebx + 0x20]
push esi
call fcn.00406214
mov edx, dword [ebp - 0x10]
mov ecx, eax
cmp edx, edi
je 0x405d09
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x405d09
cmp ecx, edi
je 0x405d09
add eax, ebx
add edx, ebx
mov dword [ebp - 0x14], eax
add ecx, ebx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], eax
jbe 0x405d09
push dword [ebp + 0xc]
push dword [ecx + eax*4]
push esi
call fcn.00406214
cmp eax, edi
je 0x405ce9
mov edx, dword [ebp - 0x14]
lea ecx, [eax + ebx]
mov eax, dword [ebp - 8]
movzx eax, word [edx + eax*2]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0x18]
cmp edx, eax
jb 0x405cad
add eax, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
cmp edx, eax
jb 0x405ce9
mov eax, dword [ebp + 0x10]
mov bl, byte [ecx]
cmp bl, byte [eax]
mov byte [ebp - 1], bl
mov ebx, dword [ebp + 8]
jne 0x405ce0
cmp byte [ebp - 1], 0
je 0x405cdc
mov bl, byte [ecx + 1]
cmp bl, byte [eax + 1]
mov byte [ebp - 1], bl
mov ebx, dword [ebp + 8]
jne 0x405ce0
add ecx, 2
add eax, 2
cmp byte [ebp - 1], 0
jne 0x405cb0
xor eax, eax
jmp 0x405ce5
sbb eax, eax
or eax, 1
test eax, eax
je 0x405cfd
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jae 0x405d09
mov ecx, dword [ebp - 0x20]
jmp 0x405c79
push dword [ebp + 0xc]
push edx
push esi
call fcn.00406214
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406214
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edx, eax
push edi
test ebx, ebx
jle 0x40624b
mov ecx, dword [ebp + 0xc]
mov edi, dword [edx + 0xc]
cmp edi, ecx
ja 0x406243
mov eax, dword [edx + 8]
add eax, edi
cmp eax, ecx
ja 0x406255
add edx, 0x28
inc esi
cmp esi, ebx
jl 0x406233
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, dword [edx + 0x14]
sub eax, edi
add ecx, eax
cmp ecx, dword [ebp + 0x10]
jb 0x406264
or ecx, 0xffffffff
mov eax, ecx
jmp 0x40624e
Function at 0x40e270
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
pop esi
push esi
push esi
call fcn.0040ee36
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40e2e7
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
push 0x35
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebp - 0x14], si
call fcn.0040491e
push 0x42ba26
mov word [ebp - 0x12], ax
call fcn.0040482e
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
sub esp, 0x10
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040d2d8
test eax, eax
jle 0x40e2e0
push dword [ebp + 0xc]
push ebx
call fcn.0040d148
push ebx
call fcn.0040e9c6
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427c60
mov esp, ebp
pop ebp
ret 8

Function at 0x41a3b6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [esi], ax
je 0x41a3cd
xor al, al
jmp 0x41a424
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x41a3c9
movzx ecx, word [eax + 6]
add eax, 0xf8
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x41a420
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a3fe
sub ecx, dword [ebp + 8]
push ecx
push ebx
push edx
call fcn.00427c10
add esp, 0xc
test eax, eax
je 0x41a42b
inc edi
add ebx, 0x28
cmp edi, dword [ebp - 4]
jb 0x41a3f3
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
imul ecx, edi, 0x28
mov edx, dword [ecx + eax + 0x14]
mov ecx, dword [ecx + eax + 0x10]
add edx, esi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x90]
add eax, 0x10
push eax
push ecx
push edx
call fcn.0040473c
cmp eax, 0xffffffff
setne al
jmp 0x41a422