joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ff090
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 0x5ff242
push ebx
mov ebx, dword [esp + 0xc]
push edi
test ebx, ebx
je 0x5ff22c
push ebp
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x5ff0df
lea ebp, [eax + 0xe]
jmp 0x5ff0eb
cmp eax, 0x17
jne 0x5ff199
lea ebp, [eax + 5]
cmp dword [ebx + 0x18], 0
je 0x5ff199
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5ff199
cmp eax, ebp
jb 0x5ff199
push 0x20
call dword [0x6b7580]
mov edi, eax
add esp, 4
test edi, edi
je 0x5ff221
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 [0x6b7580]
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x5ff210
push ebp
push dword [ebx + 0x18]
push eax
call fcn.00541db0
mov eax, dword [ebx + 0x14]
add esp, 0xc
test eax, eax
je 0x5ff185
push eax
call dword [0x6b758c]
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
je 0x5ff1f6
mov eax, dword [esp + 0x10]
test esi, esi
cmove esi, edi
test eax, eax
je 0x5ff195
mov dword [eax + 0x1c], edi
mov dword [esp + 0x10], edi
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x5ff0d2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x5ff1b8
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x5ff228
test esi, esi
je 0x5ff1e5
push dword [esi + 0x18]
call dword [0x6b7584]
push dword [esi + 0x14]
call dword [0x6b7584]
mov edi, dword [esi + 0x1c]
push esi
call dword [0x6b7584]
add esp, 0xc
mov esi, edi
test edi, edi
jne 0x5ff1c0
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 [0x6b7584]
push edi
call dword [0x6b7584]
add esp, 8
jmp 0x5ff1a8
push edi
mov ebx, 8
call dword [0x6b7584]
add esp, 4
jmp 0x5ff1a8
mov ebx, 8
jmp 0x5ff1a8
test esi, esi
jne 0x5ff238
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 0x602c20
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.0061a9f0
push dword [esp + 0x1004]
call fcn.00627e95
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x602c6c
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x602c6c
lea eax, [esp]
push eax
call dword [0x6b758c]
add esp, 4
add esp, 0x1000
ret
xor eax, eax
add esp, 0x1000
ret

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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push eax
mov ebp, dword [edi + 0x1c4]
or esi, 0xffffffff
mov ebx, dword [edi]
push ebp
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x6055f4
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.005ef9d0
add esp, 8
cmp esi, 0xffffffff
jne 0x605621
push str.Error_accept__ing_server_connect
push ebx
call fcn.005eefe0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.005ef0a0
push 1
push esi
mov byte [edi + 0x2b0], 0
mov dword [edi + 0x1c4], esi
call fcn.005fbb40
add esp, 0x10
mov byte [edi + 0x1d1], 1
cmp dword [ebx + 0x610], 0
je 0x605697
push 1
push ebx
call fcn.005e1200
mov eax, dword [ebx + 0x610]
push 1
push esi
push dword [ebx + 0x614]
call eax
push 0
push ebx
mov esi, eax
call fcn.005e1200
add esp, 0x1c
test esi, esi
je 0x605697
push edi
call fcn.00605b30
add esp, 4
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
Function at 0x619d30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x6b7580]
mov esi, eax
add esp, 4
test esi, esi
jne 0x619d5b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x619daa
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x619db2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x619e23
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x619de0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x619e55
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push str.6LibsodiumDRGSigEd25519_no_Ed25519_collisions
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x66cd6f
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x619e30
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x61ab30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x61ab5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x61ab5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x620278
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b5a34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x675538
push esi
call fcn.00539d51
pop ecx
pop ecx
test eax, eax
jne 0x6202a6
xor al, al
jmp 0x620323
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0061ff7a
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x6202e0
push dword [ebp - 0x210]
call fcn.0061ae8f
xor al, al
jmp 0x620321
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x6202e6
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x620306
push edx
call fcn.006201af
pop ecx
test al, al
je 0x6202d1
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x620314
mov bl, 1
push dword [ebp - 0x210]
call fcn.0061ae8f
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00531415
leave
ret
Function at 0x62a234
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0061a9f0
mov eax, dword [0x6b5a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0053f0d8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x62a276
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x62a3d2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0061a6b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6b83e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00540a03
mov ecx, dword [esi*4 + 0x6b83e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x62a3cb
cmp eax, dword [ecx + edi + 0x24]
jne 0x62a3cb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x62a3cb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00540a03
add esp, 0x14
test edx, edx
jl 0x62a3cb
jg 0x62a341
test eax, eax
jb 0x62a3cb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x62a3cb
jl 0x62a35b
cmp dword [ebp - 0x1008], eax
ja 0x62a3cb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x62a379
test ebx, ebx
je 0x62a3b2
cmp ecx, edi
jae 0x62a3b2
mov al, byte [ecx]
cmp al, 0xd
jne 0x62a393
lea eax, [edi - 1]
cmp ecx, eax
jae 0x62a39f
cmp byte [ecx + 1], 0xa
jne 0x62a39f
inc ecx
jmp 0x62a39f
movzx eax, al
movsx eax, byte [eax + 0x6b6198]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x62a379
cmp edx, ebx
jne 0x62a379
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x62a3d0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00531415
leave
ret
Function at 0x62cc67
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0062cbe3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x62cdd6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x62cdd6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x62cd8b
jg 0x62ccc3
test eax, eax
je 0x62cd81
push 1
push 0x1000
call fcn.0053494c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x62cce6
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x62cd78
push 0x8000
push ebx
call fcn.00532869
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x62cd0f
jg 0x62cd0a
cmp ecx, 0x1000
jb 0x62cd0f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0053f9e9
add esp, 0x10
cmp eax, 0xffffffff
je 0x62cd54
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x62cd0a
jl 0x62cd3b
test ecx, ecx
jne 0x62ccfc
push dword [ebp - 0xc]
push ebx
call fcn.00532869
push esi
call fcn.005349a9
add esp, 0xc
xor ebx, ebx
jmp 0x62cde4
cmp byte [edi + 0x24], 0
je 0x62cd6b
cmp dword [edi + 0x20], 5
jne 0x62cd6b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x62cd76
mov ebx, dword [edi + 0x18]
jmp 0x62cd78
xor ebx, ebx
push esi
call fcn.005349a9
pop ecx
jmp 0x62cde4
test ecx, ecx
jg 0x62cd4d
jl 0x62cd8b
test eax, eax
jae 0x62cd4d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00540a21
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x62cdab
cmp byte [edi + 0x1c], 0
je 0x62cd4d
jmp 0x62cddc
push ebx
call fcn.0053847f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x62cd4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x62cde4
cmp byte [edi + 0x1c], 0
je 0x62cde1
mov ebx, dword [edi + 0x18]
jmp 0x62cde4
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00540a21
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x630d4f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6b5a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x630d92
call fcn.005360da
mov dword [eax], 0xf
call fcn.005360ed
mov dword [eax], 0xd
call fcn.00534908
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531415
leave
ret
test eax, eax
jne 0x630d99
inc eax
jmp 0x630d86
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x630d84
xor eax, eax
cmp ecx, 1
setne al
jmp 0x630d86
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a9c47a6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x56ef5cb4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403140
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d585
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x440018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4032e5
cmp word [eax], 0
je 0x4032e5
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x18], 1
jl 0x4032e5
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00401a20
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4032dd
mov edx, 0x43ada4
lea ecx, [ebp - 0x34]
call fcn.00403740
test al, al
jne 0x4031d5
mov edx, 0x43adac
lea ecx, [ebp - 0x34]
call fcn.00403740
test al, al
je 0x4031d9
mov byte [ebx + 0x7c], 1
mov edx, 0x43adb4
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00403740
test al, al
je 0x4031f6
mov edi, 0x50c8
jmp 0x4032c1
mov edx, str.zhTW
lea ecx, [ebp - 0x34]
call fcn.00403740
test al, al
je 0x403211
mov edi, 0x2828
jmp 0x4032c1
mov edx, str.zhCN
lea ecx, [ebp - 0x34]
call fcn.00403740
test al, al
je 0x40322c
mov edi, 0x5028
jmp 0x4032c1
mov edx, 0x43add4
lea ecx, [ebp - 0x34]
call fcn.00403740
test al, al
je 0x403244
mov edi, 0x5104
jmp 0x4032c1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push esi
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
push 0x43ae00
push 0x17
push 0
push 0x42f7d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40329d
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x38]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x38]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, esi
call dword [0x42f1a4]
call esi
test eax, eax
cmove edi, dword [ebp - 0x1c]
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4032c1
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42f1a4]
call esi
mov eax, 0xcccccccd
xor ecx, ecx
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp edi, eax
cmove ecx, edi
mov dword [ebx + 0x8c], ecx
lea ecx, [ebp - 0x34]
call fcn.00401fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413ff8
mov esp, ebp
pop ebp
ret
Function at 0x403b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403b61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403b61
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 0xa
lea edx, [esi + eax]
cmp esi, edx
jae 0x403b61
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403b40
cmp esi, edx
jae 0x403b61
cmp word [esi], cx
je 0x403b61
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40bf00
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42df6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x440018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x23c], esi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x23c], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea edx, [ecx + 2]
mov word [ebp - 0x238], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf93
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00401dc0
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 1
jb 0x40c10d
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 1
cmovae eax, dword [ebp - 0x238]
push 0x43b85c
push ecx
push eax
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
call fcn.0040c200
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x40c010
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x254]
call fcn.00406d50
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x40c094
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c112
push edx
push ecx
call fcn.00414006
add esp, 8
mov edx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
cmp edx, 8
jb 0x40c0ed
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c112
push edx
push ecx
call fcn.00414006
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413ff8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402180
call fcn.0041861f
int3
Function at 0x40e080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e230
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x440018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x43acdc
call fcn.00414014
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004134d4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret