joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6944e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4b
push 0
push 0
dec ecx
jne 0x6944ec
push ecx
push ebx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6948e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x6948bd
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.0040a26c
lea eax, [ebp - 0x230]
mov edx, ebx
call fcn.0042545c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x230]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x6948bd
mov eax, dword [ebp - 0x18]
call fcn.00406fd8
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x6948b6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x230]
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x69489d
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x6948f8
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x69489d
xor eax, eax
push ebp
push 0x694664
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 8]
lea edx, [ebp - 0x234]
mov eax, ebx
shr eax, 0x10
movzx eax, ax
call fcn.004242bc
push dword [ebp - 0x234]
push 0x694908
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
call fcn.004242bc
push dword [ebp - 0x238]
push 0x694908
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040adb8
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0xc]
push dword [ebp - 8]
lea edx, [ebp - 0x23c]
mov eax, ebx
shr eax, 0x10
movzx eax, ax
call fcn.004242bc
push dword [ebp - 0x23c]
push 0x694908
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xc]
call fcn.004242bc
push dword [ebp - 0x240]
mov eax, dword [ebp - 0xc]
add eax, 4
mov edx, 4
call fcn.0040adb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69466b
lea eax, [ebp - 8]
call fcn.00409e8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6948bd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
call fcn.00406ff4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6948ef
lea eax, [ebp - 0x25c]
mov edx, 0xb
call fcn.00409eec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409eec
ret
Function at 0x6d2718
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409e8c
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x6d2749
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a014
add esp, 0x24
pop ebx
ret

Function at 0x6fc694
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6fc69c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6fc851
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6fc86c
call fcn.0040ad30
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.006fa26c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x6fc880
call fcn.006a4d34
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6fc717
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6fc758
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.006fa26c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6fc8e8
call fcn.006a4d34
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040acd8
mov eax, esi
mov edx, 0x6fc914
call fcn.0040acd8
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6fc770
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6fc7de
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6fc928
call fcn.006a4d34
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040acd8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6fc7a7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6fc7d2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6fc958
call fcn.006a4d34
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040acd8
mov eax, esi
mov edx, 0x6fc914
call fcn.0040acd8
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6fc7ea
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6fc815
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6fc984
call fcn.006a4d34
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040acd8
mov eax, esi
mov edx, 0x6fc914
call fcn.0040acd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6fc858
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409eec
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409eec
lea eax, [ebp - 4]
call fcn.00409e8c
ret
Function at 0x44b810
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xb0
mov al, byte [0x65f049]
mov cl, byte [0x65f048]
xor cl, al
push esi
mov byte [0x65f048], cl
mov cl, byte [0x65f043]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 5
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x662960]
fadd qword [0x65f050]
fstp qword [0x662950]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44b87e
or dword [esi], 0x4000000
mov al, byte [0x65f046]
mov dl, byte [0x65f045]
xor al, dl
mov byte [0x65f046], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x6629c0]
fstp qword [0x662950]
fld qword [0x65f050]
fadd qword [0x662960]
fstp qword [0x662960]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x5758c1
Capabilities:
Encode data using xor

Disassembly:
aam 0xe1
dec dword [eax + 0x71]
dec eax
jno 0x57590e
dec eax
jno 0x57590e
sti
out dx, eax
adc eax, 0x1a4ee701
dec esi
sbb dh, byte [edx + 0x66b135df]
inc ebp
invalid
mov ebx, cs
jp 0x5758be
fcmove st(0), st(2)
pop edx
cld
and ebx, dword [ebp + 0x6f104744]
add bh, al
cmp ecx, dword [esi + 0x59ce5b3a]
scasd eax, dword es:[edi]
lea esi, [ebp + ebp*8 + 0x5b270cb8]
mov dh, byte [edx + edi*8 - 0x6b]
pushal
test dword [esi + 0x48], edx
jmp 0xfae90790
Function at 0x6018c4
Capabilities:
Encode data using xor

Disassembly:
aam 0x7f
invalid
mov ebx, dword [esi]
scasd eax, dword es:[edi]
jle 0x601828
popal
movsd dword es:[edi], dword [esi]
arpl word [edi + 0x4b], bp
xor eax, 0xeb19ff29
sub ebp, dword [edx + 0x6279aac3]
stosb byte es:[edi], al
jns 0x6018bc
mov eax, dword [0x24ce87c3]
jns 0x601844
enter 0x18b7, 0xffffffffffffff96
adc al, 0xf2
inc ebp
aad 0x3e
xchg ebp, eax
jle 0x6018be
cmpsd dword [esi], dword es:[edi]
xor esi, dword [eax + 0x1b]
jo 0x60188c
iretd
daa
mov bh, 0xc3
sbb ecx, dword [esi]
inc ebp
or bh, byte [edx + 0x2e]
sub al, 2
xlatb
into
mov edx, dword [edi - 0x12149149]
aad 0x29
pop ebx
sahf
aaa
test al, 0xec
mov esi, 0x9e0b7e5b
shl dword [eax], 1
imul edi, dword [ecx], 0x5b
add dh, byte [edi]
into
cmp al, byte [ebx + 0xe4f4dee]
xor byte es:[edi - 0x71e88009], ch
sbb byte [edx], ch
stc
ret
mov bh, 0x6e
jmp 0x60187d
cdq
lcall 0x7acf, 0x80a65fab
jb 0x6018b5
jp 0x601930
mul dl
mov esi, 0xa6295781
cmpsb byte [esi], byte es:[edi]
loop 0x60187f
adc dword [edi + 0x29], 0x3fc3fea6
cmpsb byte [esi], byte es:[edi]
inc bl
aas
fimul dword [esi - 0x5e]
pop esi
std
outsd dx, dword [esi]
loop 0x60186f
pop ss
pushfd
jbe 0x601857
cmpsb byte [esi], byte es:[edi]
scasb al, byte es:[edi]
daa
jle 0x601933
bswap esi
iretd
xor ah, byte [edi]
mov esi, 0xee36c99b
and eax, 0x31756d0a
add esi, dword [edi + 0x66]
rcl byte [ebx + ecx*2 + 0x38], cl
mov esp, 0xdf806eac
push ecx
cmp byte [esp + ebp*4 + 0x51df806e], bh
xchg esi, eax
scasb al, byte es:[edi]
adc eax, edi
test al, 0x8c
je 0x601949
invalid
rol cl, 1
or eax, ebx
mov cl, 0x4c
inc ecx
rcr dword [ebx - 0x7be10a45], 1
mov bl, 0x50
jp 0x601927
xor al, 0x8d
outsd dx, dword [esi]
out dx, al
jnp 0x601914
dec ebx
jmp 0x60199b
inc edx
cmp edi, ebp
cmp eax, dword [esi - 0x117d2e0c]
out dx, eax
cmp dl, byte [ebp + 0x6e]
dec byte [ebx + 0x6ebbc374]
in al, dx
jg 0x6019d0
mov ebx, 0x1f7fec6e
setp byte [esi - 9]
jle 0x6019ac
mov byte [0x7f6b3c29], al
inc edx
pop esi
mov eax, 0x9af1ba22
or al, 0xe7
and bh, byte [edx - 0x18f3650f]
sal byte [edi - 0x650fd883], 1
xor byte [edi + 0x5e], 0xe9
jno 0x6019b3
jno 0x6019bd
in al, dx
sub al, 0x6e
call 0x4fd1ff15
inc ebx
jmp 0x6019ba
Function at 0x657e8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x657eaf
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x657ea0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x657fdd
mov eax, dword [0xa5bd74]
cmp eax, 1
je 0x657fb7
test eax, eax
jne 0x657ee0
cmp dword [0x65f2c4], 1
je 0x657fb7
cmp edx, 0xfc
je 0x657fdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657f17
lea eax, [ebp - 0x1a4]
push 0x65d558
push eax
call fcn.00658870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657f5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d554
push edi
call fcn.0065abd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d538
push eax
call fcn.00658870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658880
lea eax, [ebp - 0xa0]
push 0x65d534
push eax
call fcn.00658880
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658880
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d50c
push eax
call fcn.0065ab44
add esp, 0x2c
pop edi
jmp 0x657fdd
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.00658d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
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
pop eax
nop
nop
nop
nop
nop
mov esi, 0x103b1d53
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x43c4956
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x477880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x475015
lea edi, [esi - 0x74015]
push edi
or ebp, 0xffffffff
jmp 0x4778a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4778a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477898
mov eax, 1
add ebx, ebx
jne 0x4778bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4778b0
jne 0x4778cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4778b0
xor ecx, ecx
sub eax, 3
jb 0x4778e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x477952
mov ebp, eax
add ebx, ebx
jne 0x4778eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4778f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47791c
inc ecx
add ebx, ebx
jne 0x477908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4778fd
jne 0x477919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4778fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47793c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47792d
jmp 0x47789e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47793c
add edi, ecx
jmp 0x47789e
pop esi
mov edi, esi
mov ecx, 0x25e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47795a
cmp byte [edi], 2
jne 0x47795a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x47795f
lea edi, [esi + 0x75000]
mov eax, dword [edi]
or eax, eax
je 0x4779ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x77000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x770c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47798c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x770cc]
or eax, eax
je 0x4779c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4779a9
call dword [esi + 0x770d0]
popal
jmp 0x4011cb
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7bbb693c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4459231a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4027cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x45191a
call fcn.0043b941
lea ecx, [ebp - 0x1c]
call fcn.0042b1ef
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
call fcn.004029fb
or dword [ebp - 4], 0xffffffff
call fcn.0042b205
and dword [ebp - 0x18], 0
push 0x21
push 1
mov edi, 0x400000
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4028d2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4028c9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x4028d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x4028d2
mov dword [ebp - 4], 3
shr esi, 1
lea edi, [eax + esi*2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, edi
je 0x402895
cmp word [esi], bx
jne 0x402891
cmp dword [ebp - 0x20], ebx
je 0x40288b
push dword [ebp - 0x20]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
call fcn.00402965
lea eax, [esi + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
jmp 0x402891
lea eax, [esi + 2]
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x402861
or dword [ebp - 4], 0xffffffff
jmp 0x4028d0
mov dword [ebp - 0x18], 1
jmp 0x4028da
call fcn.00403023
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x4028fd
call fcn.0043b9e6
ret 4
Function at 0x40c3f6
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x4532e3
call fcn.0043b941
lea ecx, [ebp - 0x30]
call fcn.0042b1ef
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041578f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.004082eb
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x45bb40
lea ecx, [ebp - 0x14]
call fcn.004134b7
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x40c472
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.00413286
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401af6
or dword [ebp - 4], 0xffffffff
call fcn.0042b205
mov eax, dword [ebp - 0x1c]
call fcn.0043b9e6
ret 0x14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
call fcn.00418f20
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x40c445
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40c49b
and dword [ebp - 0x14], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x18]
push eax
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.00401a91
push str..exe
mov ecx, esi
call fcn.00408558
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x40c445
call fcn.00403023
mov dword [ebp - 0x1c], eax
jmp 0x40c445
Function at 0x40d82b
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x46cd08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Calling_SetDllDirectory_n
call ebx
push 0x459e5c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d88b
push 0x800
call eax
test eax, eax
jne 0x40d884
push str.Failed_to_SetDefaultDlLDirectories_n
jmp 0x40d890
push str.Succeeded_to_SetDefaultDlLDirectories_n
jmp 0x40d890
push str.Failed_to_load_SetDefaultDlLDirectories_n
call ebx
push 0x104
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40da04
push esi
push edi
lea esi, [ebp + eax*2 - 0x428]
mov edi, 0x103
sub edi, eax
mov word [esi], 0x5c
inc esi
inc esi
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x468], str.BCRYPT.DLL
mov dword [ebp - 0x464], str.RSAENH.DLL
mov dword [ebp - 0x460], str.CRYPT32.DLL
mov dword [ebp - 0x45c], str.MSASN1.DLL
mov dword [ebp - 0x458], str.USERENV.DLL
mov dword [ebp - 0x454], str.WINTRUST.DLL
mov dword [ebp - 0x450], str.GDIPLUS.DLL
mov dword [ebp - 0x44c], str.MSI.DLL
mov dword [ebp - 0x448], str.OLEACC.DLL
mov dword [ebp - 0x444], str.OLEDLG.DLL
mov dword [ebp - 0x440], str.RICHED20.DLL
mov dword [ebp - 0x43c], str.VERSION.DLL
mov dword [ebp - 0x438], str.WINHTTP.DLL
mov eax, dword [ebp - 0x42c]
push dword [ebp + eax*4 - 0x468]
push edi
push esi
call fcn.004392a4
add esp, 0xc
test eax, eax
jne 0x40d9e8
mov esi, str.Loading
lea edi, [ebp - 0x220]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x20a
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x20e]
push eax
movsw word es:[edi], word [esi]
call fcn.00436910
lea eax, [ebp - 0x428]
push eax
mov esi, 0x10e
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043922a
push 0x45bf88
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043922a
add esp, 0x24
lea eax, [ebp - 0x220]
push eax
call ebx
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x434]
mov edi, dword [ebp - 0x430]
jmp 0x40d9ef
push str.Failed_to_append_filename_on_system_path_n
call ebx
inc dword [ebp - 0x42c]
cmp dword [ebp - 0x42c], 0xd
jb 0x40d958
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00435d90
leave
ret