joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x475084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416f3a
and dword [ebp - 0x14], 0
cmp dword [0x477f44], 0
mov dword [ebp - 0x18], eax
jne 0x41e57e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e626
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41e626
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x477f44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x477f48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x477f4c], eax
call edi
push eax
call esi
mov dword [0x477f54], eax
test eax, eax
je 0x41e57e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x477f50], eax
mov eax, dword [0x477f50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e5d7
cmp dword [0x477f54], ecx
je 0x41e5d7
push eax
call esi
push dword [0x477f54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e5d7
test ebx, ebx
je 0x41e5d7
call edi
test eax, eax
je 0x41e5ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e5ce
test byte [ebp - 8], 1
jne 0x41e5d7
or dword [ebp + 0x10], 0x200000
jmp 0x41e60a
mov eax, dword [0x477f48]
cmp eax, dword [ebp - 0x18]
je 0x41e60a
push eax
call esi
test eax, eax
je 0x41e60a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e60a
mov eax, dword [0x477f4c]
cmp eax, dword [ebp - 0x18]
je 0x41e60a
push eax
call esi
test eax, eax
je 0x41e60a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x477f44]
call esi
test eax, eax
je 0x41e626
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e628
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b3d
leave
ret
Function at 0x43a940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 8

Function at 0x43d4e3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x43d4f6
xor eax, eax
leave
ret
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 4], 0x61
mov dword [ebp - 4], 0x2e
add dword [ebp - 4], 0xffffffd1
cmp dword [eax + ecx], 0x4550
jne 0x43d4f2
fld qword [0x46f948]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x46f940]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x46f938]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x46f930]
fsub qword [ebp - 8]
fadd qword [ebp - 8]
fadd qword [ebp - 8]
fadd qword [0x46f928]
fsub qword [ebp - 8]
mov eax, dword [eax + ecx + 0x98]
fstp qword [ebp - 8]
test eax, eax
je 0x43d4f2
add eax, ecx
leave
ret
Function at 0x44610a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4501a4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x475084]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x475084]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push dword [0x4761ec]
lea eax, [esp + 0x28]
mov esi, ecx
call fcn.00404569
and dword [esp + 0x50], 0
fld qword [0x46f9a8]
fstp qword [esp + 0x14]
mov ecx, esi
fld qword [0x46f9a0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fsub qword [0x46f998]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fadd qword [esp + 0x1c]
fadd qword [esp + 0x14]
fsub qword [esp + 0x1c]
fsub qword [0x46f990]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x46f988]
fsub qword [esp + 0x14]
fsub qword [0x46f980]
fsub qword [esp + 0x14]
mov eax, dword [esi]
fadd qword [0x46f978]
fstp qword [esp + 0x1c]
call dword [eax + 4]
mov ebx, eax
push ebx
call fcn.00412d20
pop ecx
mov edi, eax
push ebx
lea eax, [esp + 0x28]
call fcn.00403dd9
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4461e4
lea eax, [esp + 0x24]
push eax
push dword [esi + 0xc]
call fcn.0044609a
pop ecx
pop ecx
mov dword [esp + 0x14], 0x61
mov dword [esp + 0x14], 0x2e
add dword [esp + 0x14], 0xffffffd1
push 1
xor edi, edi
lea esi, [esp + 0x28]
call fcn.00404b0b
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00410b3d
mov esp, ebp
pop ebp
ret
Function at 0x402260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [ecx - 0x3e8]
push 0
push 0
push 0xf0
push dword [ebx*4 + 0x4096b0]
call edi
test eax, eax
jne 0x402399
push esi
xor esi, esi
nop dword [eax + eax]
push 0
cmp esi, ebx
jne 0x4022ae
push 1
push 0xf1
push dword [esi*4 + 0x4096b0]
call edi
mov dword [0x409710], esi
jmp 0x4022be
push 0
push 0xf1
push dword [esi*4 + 0x4096b0]
call edi
inc esi
cmp esi, 8
jl 0x402290
push 0x4064ac
push 0xc8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x402398
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402398
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
call fcn.00404660
push ebx
mov edi, eax
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x2c
add esp, 0x10
cmp ebx, edx
jbe 0x402384
movss xmm2, dword [0x406708]
movss xmm3, dword [0x406710]
movss xmm4, dword [0x40670c]
nop dword [eax]
movzx ecx, byte [edi + edx + 1]
movaps xmm1, xmm3
movzx eax, byte [edi + edx]
shl cx, 8
or cx, ax
movsx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
maxss xmm1, xmm0
movaps xmm0, xmm4
minss xmm0, xmm1
cvttss2si eax, xmm0
movzx eax, ax
mov byte [edi + edx], al
sar eax, 8
mov byte [edi + edx + 1], al
add edx, 2
cmp edx, ebx
jb 0x402340
push 7
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundW]
push edi
call fcn.0040461d
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x4040f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x409868
push 0x67
push edi
call esi
push 0x64
push 0x4097a0
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x404270
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xf0f0f0
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x6c
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x6d
mov dword [ebp - 0xc], 0x4097a0
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x409868
push 0x4097a0
push 0
mov dword [0x40979c], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4041e1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040460f
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push 0
push eax
call esi
test eax, eax
je 0x404252
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x404241
lea eax, [ebp - 0x50]
push eax
call edi
lea eax, [ebp - 0x50]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call esi
test eax, eax
jne 0x404221
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
pop edi
pop esi
call fcn.0040460f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404ee9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404f28
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404f28
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404f28
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404f28
cmp dword [ecx + 0x74], 0xe
jbe 0x404f28
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4e9290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9b000]
mov dword [edi + 0xc23a4], 0x41624dd
push edi
or ebp, 0xffffffff
jmp 0x4e92ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e92c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e92b0
mov eax, 1
add ebx, ebx
jne 0x4e92d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e92e4
jne 0x4e9303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e9303
dec eax
add ebx, ebx
jne 0x4e92f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e92c8
add ebx, ebx
jne 0x4e92ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e9355
xor ecx, ecx
sub eax, 3
jb 0x4e931b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e938a
sar eax, 1
mov ebp, eax
jmp 0x4e9326
add ebx, ebx
jne 0x4e9326
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e92f4
inc ecx
add ebx, ebx
jne 0x4e9334
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e92f4
add ebx, ebx
jne 0x4e9341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e9336
jne 0x4e9352
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e9336
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e9374
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e9366
jmp 0x4e92b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e9374
add edi, ecx
jmp 0x4e92b6
pop esi
mov edi, esi
mov ecx, 0x5108
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e9392
cmp byte [edi], 0x1d
jne 0x4e9392
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 al, bl
loop 0x4e9397
lea edi, [esi + 0xe6000]
mov eax, dword [edi]
or eax, eax
je 0x4e940f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xea058]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xea134]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e93c4
mov ecx, edi
jns 0x4e93f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xea138]
or eax, eax
je 0x4e9409
mov dword [ebx], eax
add ebx, 4
jmp 0x4e93e1
call dword [esi + 0xea140]
mov ebp, dword [esi + 0xea13c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e9443
sub esp, 0xffffff80
jmp 0x40136c
Function at 0x41db75
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528b46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5e1390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0050c82a
pop ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41dbbf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41edd4
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.0041f9be
lea edx, [ebx + 0x60]
xor eax, eax
mov byte [edx + 0x49], al
mov dword [edx + 0x50], 0x10
test al, al
jne 0x41ee05
mov eax, edx
mov byte [edx + 0x49], 1
neg eax
and eax, 0xf
add eax, edx
push 8
mov dword [edx + 0x54], eax
mov esi, 0x5bb7f8
mov edi, dword [ebx + 0xb4]
mov eax, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx], vtable.CryptoPP::SHA256.0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4209b6
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x52a4aa
call fcn.004e49d2
push str.ConnectionManager::Start
push str._s:_enter
push 1
xor esi, esi
push esi
call fcn.0043a0a0
add esp, 0x10
mov edi, 0x5ea330
mov ecx, edi
push 1
call fcn.004208b6
push ecx
push dword [0x5ea340]
lea ecx, [ebp - 0x2c]
call fcn.0045c8f0
xor ecx, ecx
mov dword [ebp - 4], esi
cmp byte [ebp + 8], cl
movzx eax, byte [0x5ea630]
cmove eax, ecx
sub esp, 0x18
mov ecx, esp
mov byte [0x5ea630], al
call fcn.00458691
call fcn.00456a26
add esp, 0x18
mov dword [0x5ea620], eax
call fcn.004585ce
mov byte [0x5ea625], al
call fcn.00450017
push 0xe1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5ea344]
test eax, eax
jne 0x420a9e
cmp dword [0x5ea614], eax
jne 0x420a9e
push 1
mov ecx, edi
call fcn.0042077b
push esi
push esi
push edi
push 0x420b02
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x5ea614], eax
test eax, eax
jne 0x420a90
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Start:_CreateThread_failed___d_
push esi
push esi
call fcn.0043a0a0
add esp, 0x10
mov ecx, edi
push esi
call fcn.0042077b
push str.ConnectionManager::Start
push str._s:_exit
push 1
jmp 0x420aa5
push eax
push str.Invalid_connection_manager_state_in_Start___d_
push esi
push esi
call fcn.0043a0a0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0045c98b
call fcn.004e497c
ret 4
Function at 0x42bb24
Capabilities:
Get file version info

Disassembly:
push 0x98
mov eax, 0x52b99d
call fcn.004e49d2
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x84], edi
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x94], esi
mov ecx, dword [eax]
mov eax, dword [0x5ec57c]
cmp eax, dword [ecx + 0x139c]
jle 0x42bba8
push 0x5ec57c
call fcn.004e3f82
cmp dword [0x5ec57c], 0xffffffff
pop ecx
jne 0x42bba8
mov dword [ebp - 4], esi
mov dword [0x5ec580], esi
mov dword [0x5ec584], esi
call fcn.00430925
push 0x53b590
mov dword [0x5ec580], eax
call fcn.004e45f2
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x5ec57c
call fcn.004e3f43
pop ecx
push ebx
lea eax, [ebp - 0x7c]
mov ecx, 0x5ec580
push eax
call fcn.0042f53d
mov esi, dword [ebp - 0x7c]
cmp esi, dword [0x5ec580]
je 0x42bbd4
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.004146f4
shr eax, 0x1f
test al, al
je 0x42bbda
mov esi, dword [0x5ec580]
cmp esi, dword [0x5ec580]
je 0x42bbf2
add esi, 0x28
mov ecx, edi
push esi
call fcn.0042669f
jmp 0x42bd24
cmp dword [ebx + 0x14], 0x10
jb 0x42bbfc
mov eax, dword [ebx]
jmp 0x42bbfe
mov eax, ebx
lea ecx, [ebp - 0x98]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x42bd18
push eax
call fcn.004e461a
mov esi, eax
mov dword [ebp - 0x84], esi
pop ecx
test esi, esi
jne 0x42bc4b
push str.GetDLLVersion:324:_memory_allocation_failed
lea ecx, [ebp - 0xa4]
call fcn.0040ea4b
push 0x5dd368
lea eax, [ebp - 0xa4]
push eax
call fcn.004fda0a
push esi
lea ecx, [ebp - 0x7c]
call fcn.0041ffcf
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
jb 0x42bc68
mov eax, dword [ebx]
jmp 0x42bc6a
mov eax, ebx
push esi
push dword [ebp - 0x78]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x42bd0b
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42bd0b
mov ecx, dword [ebp - 0x80]
xor esi, esi
test ecx, 0xfffffffc
jbe 0x42bd0b
mov eax, dword [ebp - 0x88]
movzx edx, word [eax + esi*4]
cmp dl, 9
jne 0x42bd01
movzx eax, word [eax + esi*4 + 2]
push eax
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.00431c6c
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x8c]
and dword [ebp - 0x8c], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x42bd2c
mov ecx, dword [ebp - 0x80]
mov eax, ecx
inc esi
shr eax, 2
cmp esi, eax
jb 0x42bcab
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x7c]
call fcn.004e3e1e
pop ecx
push 0x5ae2ec
mov ecx, edi
call fcn.00426582
mov eax, edi
call fcn.004e497c
ret
mov edi, dword [ebp - 0x78]
mov ecx, 0x5ec580
push ebx
call fcn.0042f1d6
push edi
mov esi, eax
call fcn.0042655b
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004264e2
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x90]
call fcn.00426582
push dword [ebp - 0x7c]
call fcn.004e3e1e
mov eax, dword [ebp - 0x90]
pop ecx
jmp 0x42bd26
Function at 0x430a11
Capabilities:
Print debug messages

Disassembly:
push 0xa4
mov eax, 0x52c38e
call fcn.004e49d2
mov edi, edx
mov esi, ecx
push 7
lea ecx, [ebp - 0xb0]
call fcn.004112f7
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0045bbdb
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004264be
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.0041140f
push str.timestamp__timestamp
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.004126d5
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041163b
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00427ba9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.004113dd
push 0x5b0dd8
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004126d5
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0041163b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push edi
call fcn.00411451
push str.data
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.004126d5
mov ecx, eax
call fcn.0041163b
lea ecx, [ebp - 0x48]
call fcn.0041343f
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041345e
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0x550680
call esi
push ecx
push dword [0x5ea150]
lea ecx, [ebp - 0x94]
call fcn.0045c8f0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x5ea158
call fcn.0041272d
lea ecx, [ebp - 0x94]
call fcn.0045c98b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
lea ecx, [ebp - 0x48]
call fcn.0040f5b8
lea ecx, [ebp - 0xb0]
call fcn.0041159b
call fcn.004e497c
ret
Function at 0x459b3a
Capabilities:
Create directory

Disassembly:
push 0x3c
mov eax, 0x531dc6
call fcn.004e49d2
mov esi, edx
mov edi, ecx
cmp esi, 0xa
jle 0x459b72
push esi
push 0x137
push str.GetUniqueTempDir
push str._s:_d___depth_too_large:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x18
xor al, al
jmp 0x459c73
xor edx, edx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], edx
jb 0x459b81
mov eax, dword [edi]
jmp 0x459b83
mov eax, edi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 7
pop ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], edx
call fcn.004599ec
test al, al
jne 0x459bc1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x140
push str.GetUniqueTempDir
push str._s:_d___GetSysTempPath_failed:__d
jmp 0x459c8f
test esi, esi
jle 0x459c43
push 0x50
pop eax
cdq
idiv esi
cmp eax, ebx
cmovg ebx, eax
and dword [ebp - 0x44], 0
mov dword [ebp - 0x48], ebx
test esi, esi
jle 0x459c43
push ebx
lea ecx, [ebp - 0x40]
call fcn.00459aff
pop ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0042ac92
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00427ba9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446be8
cmp dword [eax + 0x14], 8
jb 0x459c16
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ebx, eax
lea ecx, [ebp - 0x40]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00427ba9
add bl, 1
jne 0x459c79
mov ebx, dword [ebp - 0x44]
inc ebx
mov dword [ebp - 0x44], ebx
cmp ebx, esi
mov ebx, dword [ebp - 0x48]
jl 0x459bdb
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446be8
push eax
mov ecx, edi
call fcn.00427b2c
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00427ba9
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00427ba9
mov al, bl
call fcn.004e497c
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x153
push str.GetUniqueTempDir
push str._s:_d___CreateDirectory_failed:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x18
xor bl, bl
jmp 0x459c65

Function at 0x459f2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x14], 8
push ebx
push esi
push edi
mov edi, edx
jb 0x459f3e
mov ecx, dword [ecx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x459f8f
cmp dword [edi + 0x14], 0x10
lea ebx, [edi + 0x10]
jb 0x459f69
mov edi, dword [edi]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebx]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x459f8f
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
jne 0x459f8f
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
jmp 0x459fc3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x459faa
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
push 0x5b833c
push str._s___write_file_failed___d_
push 0
push 0
call fcn.0043a0a0
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c9fe
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x532415
call fcn.004e49d2
push 0x105
lea eax, [ebp - 0x220]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x45caaf
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00426582
push 0x5b9594
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x238]
call fcn.004250a2
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.00427ba9
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push esi
push 1
lea ecx, [ebp - 0x238]
mov edi, eax
call fcn.00427ba9
test edi, edi
je 0x45caaf
push str.SetProcessDpiAwareness
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45caa8
push 2
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
call fcn.004e497c
ret