joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011be
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x1002018]
push 0x104
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x174], ecx
push 1
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
call fcn.01001149
cmp eax, 1
jl 0x100129e
push ebx
xor ebx, ebx
cmp byte [ebp - 0x160], bl
push esi
lea esi, [ebp - 0x160]
je 0x1001238
cmp byte [esi], 0x3a
je 0x100121b
inc esi
cmp byte [esi], bl
jne 0x100120f
jmp 0x100121e
mov byte [esi], bl
inc esi
cmp byte [esi], bl
je 0x1001238
push 0x10010ac
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100123e
lea esi, [ebp - 0x160]
push 0x29
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x100129c
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x100129c
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x100129c
push ebx
lea eax, [ebp - 0x170]
push eax
call sub.ole32.dll_CoRegisterSurrogateEx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.01001324
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x364e2076
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x13633dcf
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401170
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
mov eax, dword [0x407b64]
sub esp, 0x100
lea ecx, [esp]
push esi
push eax
push 0x407a64
push 0x407bb8
push str._s__s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [esp + 4]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
cmp esi, 0x20
jae 0x4011cf
push str.Cannot_load_secondary_setup.__2_
call fcn.00401150
push 0x407bb8
call fcn.00405930
add esp, 8
xor eax, eax
pop esi
add esp, 0x100
ret
mov eax, dword [0x407bb0]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x100
push ecx
push esi
call edi
test eax, eax
je 0x40120b
call fcn.00401220
lea edx, [esp + 8]
push 0x100
push edx
push esi
call edi
test eax, eax
jne 0x4011f5
pop edi
mov eax, 1
pop esi
add esp, 0x100
ret

Function at 0x4013a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf
mov dword [0x407bac], esi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0
push 0x401280
push 0
push 0x66
push esi
mov dword [0x407b68], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x407bb0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [0x407960], 0
mov byte [0x407964], 0
mov eax, dword [esp + 0x10]
mov dword [0x407bb4], 0
mov dword [0x407b64], eax
call fcn.00401480
test eax, eax
jne 0x401423
mov dword [0x407960], 1
jmp 0x401432
call fcn.00401170
neg eax
sbb eax, eax
inc eax
mov dword [0x407960], eax
mov ecx, dword [0x407bb0]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x407960]
test eax, eax
je 0x401461
mov edx, 0x407964
test edx, edx
je 0x401461
push 0x10
push str.Setup
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x407b68]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [0x407ba8]
push ecx
call esi
xor eax, eax
pop esi
ret 0x10
Function at 0x4041ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407458
cmp edx, dword [eax]
je 0x40420f
add eax, 8
inc ecx
cmp eax, 0x4074e8
jl 0x404200
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407458]
jne 0x40433d
mov eax, dword [0x408cc0]
cmp eax, 1
je 0x404317
test eax, eax
jne 0x404240
cmp dword [0x407124], 1
je 0x404317
cmp edx, 0xfc
je 0x40433d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404277
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004050a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4042ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406408
push edi
call fcn.004052a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004050a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004050b0
lea eax, [ebp - 0xa0]
push 0x4063e8
push eax
call fcn.004050b0
push dword [esi + 0x40745c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004050b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040520b
add esp, 0x2c
pop edi
jmp 0x40433d
lea eax, [ebp + 8]
lea esi, [esi + 0x40745c]
push 0
push eax
push dword [esi]
call fcn.00405190
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4015dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43107c]
jne 0x4015e7
repz ret
jmp fcn.00401f07

Function at 0x407a1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43107c]
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.004056e4
and dword [ebp - 0x14], 0
cmp dword [0x433e50], 0
mov dword [ebp - 0x18], eax
jne 0x407acf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407b77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433e58], eax
call edi
push eax
call esi
mov dword [0x433e60], eax
test eax, eax
je 0x407acf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433e5c], eax
mov eax, dword [0x433e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407b28
cmp dword [0x433e60], ecx
je 0x407b28
push eax
call esi
push dword [0x433e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407b28
test ebx, ebx
je 0x407b28
call edi
test eax, eax
je 0x407b1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407b1f
test byte [ebp - 8], 1
jne 0x407b28
or dword [ebp + 0x10], 0x200000
jmp 0x407b5b
mov eax, dword [0x433e54]
cmp eax, dword [ebp - 0x18]
je 0x407b5b
push eax
call esi
test eax, eax
je 0x407b5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407b5b
mov eax, dword [0x433e58]
cmp eax, dword [ebp - 0x18]
je 0x407b5b
push eax
call esi
test eax, eax
je 0x407b5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433e50]
call esi
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407b79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015dd
leave
ret
Function at 0x599850
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x59986a
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x59997a
push ebp
jmp 0x599880
mov eax, ebx
cmp ebx, 0x15b0
jb 0x59988f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x59993b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x5998b0
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x5998b0
test eax, eax
je 0x59994d
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x599940
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x599880
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret

Function at 0xdfe400
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdfe40a
pushal
call 0xdfe410
pop ebp
sub ebp, 0x10
sub ebp, 0x9fe400
jmp 0xdfe426
mov eax, 0x9fe400
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ae
mov edx, 0xb85ae4cc
xor byte [eax], dl
inc eax
dec ecx
jne 0xdfe43d
jmp 0xdfe450
inc edi
add dword [edi + 0x45], eax
invalid
Function at 0x61160e
Capabilities:
Encode data using xor

Disassembly:
imul edi, dword [ecx + eax*8 - 0x34], 0x27ffdf40
sbb eax, 0x7959774c
jae 0x61164d
retf
lds edi, [ebx - 0xc]
test eax, 0x5ac5a511
xor byte [ebx - 0x54], dh
cmpsd dword [esi], dword es:[edi]
mov ecx, 0x831a3966
dec ebx
pop eax
xor al, 0x1c
js 0x6116b9
sbb al, 0x78
imul edi, ecx, 0xe40ac98b
stc
mov ecx, ecx
or ah, ah
loope 0x611639
int1
outsb dx, byte [esi]
cld
cmp ah, byte [ebp - 0x4c]
mov eax, 0xac96966e
pop edx
fcomp qword [ecx + 8]
push 0x53
dec ebp
dec esp
hlt
dec eax
cld
add ch, byte [esp + esi*8 + 0x4c4a4214]
ret
cmp edi, dword [ebp + 0x5efc10d4]
sub dh, byte [edx]
mov bl, 0x55
mov ebp, 0x6eb15bf0
xor dh, byte [ebx + 0x5bf0bd55]
mov cl, 0x6e
lodsd eax, dword [esi]
inc esi
jb 0x61167b
xor byte [ebp + ebp*8 + 0x22883ce1], cl
mov ebp, gs
loope 0x611706
mov byte [edx], ah
les edi, [edx + 0x22367f55]
sbb edi, dword [edi + eax*2 - 0x68]
mov ebp, 0x8a9a82c
xor ecx, ebx
cld
push ebp
int1
jp 0x6116b2
sbb dword [ecx], ebx
div byte [ecx + 0x26]
jo 0x6116c6
xchg esp, eax
dec esp
in eax, dx
jp 0x61174c
jl 0x6116ff
jno 0x6116f3
adc cl, byte [esi + 0x2d63e6f9]
cld
dec ebp
xor al, 0x44
adc dl, dh
hlt
adc al, 0x19
inc esi
mov bl, 4
arpl word [eax], bx
pop eax
je 0x61178e
cmp eax, 0xe39bbbac
pxor mm6, qword [eax + 0x43c737dc]
jl 0x6116ea
mov ecx, ebp
sbb ch, byte [esi]
outsd dx, dword [esi]
sbb bh, byte [eax - 0x14a77f87]
cmp al, 0x4d
outsb dx, byte [esi]
les edx, [edi - 0x45]
lea eax, [ebx + 0x78]
xlatb
sub al, 0xff
dec ecx
idiv byte [edi]
enter 0xffffffffffffdac2, 0xffffffffffffffb9
out dx, eax
pop ebx
and byte [ebp + 0x3c17c90a], bh
jecxz 0x61173b
out 0xc8, eax
ret 0xb9da
fidivr dword [ecx - 0x42dfa411]
or cl, cl
pop ss
cmp al, 0xe3
hlt
mov dword [0x6d699f1b], eax
xor byte [esi + 0x53747f2f], dl
push ecx
jb 0x611763
stosb byte es:[edi], al
adc al, 0xd3
mov esp, 0xbb2dc69c
mov al, byte [0xcba4f058]
cmp edx, dword [ebx]
push 0x33
adc ebp, dword [edx + 0x33]
mov dl, byte [ecx + 0x1983131a]
and dword [ecx + 0x17], esp
mov byte [ecx], bh
loop 0x61177d
and edi, 0x66
test dword [eax], 0x1f8f995f
dec eax
or byte [edi - 0x67], bl
invalid
test al, 0xea
or dword [edi + 0x1a], 0xd587da61
mov al, byte [ecx]
cli
mov bh, 0xa8
or eax, 0x907d347a
xor al, 0x7d
nop
push 0xcd3bbdc8
aam 0xf7
mov dh, 0xcc
cmp eax, 0x15f4f092
mov bh, 0x5e
mov al, 0
pop ds
jno 0x611738
je 0x611777
sbb bh, byte [eax - 0x5afc12fa]
inc esp
int1
adc al, 0x83
invalid
Function at 0x401108
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x45f968
call fcn.00440136
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 7
call fcn.0040171f
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], 4
mov byte [ebp - 0x2d], bl
call fcn.004012c5
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401480
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00401537
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
push str.SoftwareLexmark
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
cmp eax, ebx
jne 0x4011b1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push str.fuulog
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4011a3
cmp dword [ebp - 0x38], 1
jne 0x4011a3
mov byte [ebp - 0x2d], 1
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x2d], bl
jne 0x4011fc
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
push str.SoftwareDell
push edi
call esi
cmp eax, ebx
jne 0x40124e
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push str.fuulog
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4011ee
cmp dword [ebp - 0x38], 1
jne 0x4011ee
mov byte [ebp - 0x2d], 1
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x2d], bl
je 0x40124e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x401208
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40124e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40124e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40122b
lea eax, [ebp - 0x28]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40124e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa4
call fcn.00422a1e
pop ecx
mov ecx, eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x40127c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x401272
lea eax, [ebp - 0x28]
push 0x19
push eax
call fcn.0041ba87
jmp 0x40127e
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], bl
mov dword [ecx], eax
cmp byte [0x47e5a1], bl
je 0x40129c
cmp eax, ebx
je 0x4012a8
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
jmp 0x4012a8
mov dword [0x47e5a4], eax
mov byte [0x47e5a1], 1
cmp byte [ebp - 0x2d], bl
jne 0x4012b2
call fcn.004157c5
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401537
call fcn.004401b9
ret 4
Function at 0x4012c5
Capabilities:
Query environment variable

Disassembly:
push 0xc
mov eax, 0x45f933
call fcn.004400cd
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
call fcn.00401356
push esi
push esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, str._ALLUSERSPROFILE__
push edi
mov dword [ebp - 0x18], 1
call esi
mov ebx, eax
test ebx, ebx
jbe 0x401340
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422a58
push ebx
push 0
push eax
mov dword [ebp - 0x14], eax
call fcn.0043fb00
add esp, 0x10
push ebx
push dword [ebp - 0x14]
push edi
call esi
test eax, eax
jbe 0x401337
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.00401513
push dword [ebp - 0x14]
call fcn.00422a4d
pop ecx
mov ecx, dword [ebp - 0x10]
push str.FUUlog.txt
call fcn.004013bd
mov eax, dword [ebp - 0x10]
call fcn.004401a5
ret
Function at 0x4091f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x409209
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409244
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x409240
lea ebx, [ebx]
cmp esi, eax
jae 0x409244
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x409230
cmp esi, eax
jb 0x40924a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x415430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [edi + 8]
push esi
xor esi, esi
cmp eax, esi
je 0x415515
mov ecx, dword [edi + 0x10]
push ebx
push ebp
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [edi]
mov eax, dword [edi + 4]
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov ecx, ebp
call fcn.00414e30
mov ebx, eax
mov eax, ebp
mov dword [esp + 0xc], esi
call fcn.00414e10
xor edx, edx
cmp dx, word [eax]
jae 0x415500
mov esi, dword [esp + 0xc]
cmp dword [esp + 0xc], 0
jne 0x4154a2
mov eax, dword [edi + 8]
push 5
push eax
jmp 0x4154a5
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4154fe
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [ebx + 0x14]
je 0x4154ce
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4154b1
jmp 0x4154fe
test esi, esi
je 0x4154fe
mov ecx, dword [edi + 0x10]
push 1
push ecx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
call fcn.00414ed0
inc dword [esp + 0xc]
mov ebx, eax
mov eax, ebp
call fcn.00414e10
movzx edx, word [eax]
cmp dword [esp + 0xc], edx
jl 0x415493
xor esi, esi
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop ebp
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
pop ebx
pop esi
pop ecx
ret

Function at 0x416fc1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.004221d7
cmp dword [esi + 0x20], 8
jb 0x416fde
mov esi, dword [esi + 0xc]
jmp 0x416fe1
add esi, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.004221d0
pop esi
leave
ret
Function at 0x4193ca
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x228
lea ebp, [esp - 4]
mov eax, dword [0x47cbc0]
xor eax, ebp
mov dword [ebp + 0x228], eax
push 0x28
mov eax, 0x45c987
call fcn.00440100
mov esi, dword [ebp + 0x234]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], ecx
push 0x462a24
lea ecx, [ebp]
call fcn.0040136b
or ebx, 0xffffffff
push ebx
mov edi, 0x462a20
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041721a
cmp eax, ebx
jne 0x41942f
push ebx
push 0
push esi
lea ecx, [ebp]
call fcn.00401582
jmp 0x419462
cmp eax, dword [esi + 0x14]
jae 0x419462
inc eax
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00418412
push ebx
push 0
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00401582
push 0
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401537
push 0x28
call fcn.00422a1e
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x419485
push 1
lea edx, [ebp]
push edx
push eax
call fcn.0042212f
mov ecx, dword [ebp - 0x14]
push 0
mov dword [ecx + 4], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004171f9
cmp eax, ebx
jne 0x419515
xor eax, eax
push 0x208
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.0043fb00
add esp, 0xc
push 0x105
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4194cf
cmp eax, 0x104
jle 0x4194df
lea eax, [ebp + 0x1c]
push 0x462a18
push eax
call fcn.00415b30
pop ecx
pop ecx
cmp dword [esi + 0x18], 8
jb 0x4194ea
mov esi, dword [esi + 4]
jmp 0x4194ed
add esi, 4
push esi
push 0x462a10
lea eax, [ebp + 0x22]
push 0x102
push eax
call fcn.00441266
mov ecx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp + 0x1c]
push eax
add ecx, 8
call fcn.00401513
jmp 0x419524
mov ecx, dword [ebp - 0x14]
push ebx
push 0
push esi
add ecx, 8
call fcn.00401480
push 0
push 1
lea ecx, [ebp]
call fcn.00401537
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x228]
xor ecx, ebp
call fcn.0043f432
add ebp, 0x22c
leave
ret 4