joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4101b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4101c4
cmp dword [ecx + 0x24], eax
mov eax, 0x6e2dcc
je 0x4101c4
mov eax, dword [ecx + 0x1c]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4102f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5f46
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x6fe068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], 0
call fcn.0040af80
mov dword [ebp - 4], 1
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x410378
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x410356
cmp dword [ebp - 0x24], eax
mov edx, 0x6e2dcc
cmovne edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0040af80
mov byte [ebp - 4], 2
mov ecx, esi
push edx
mov dword [esi], vtable.CWString.0
call fcn.0044de00
mov byte [ebp - 4], 1
jmp 0x410430
inc edi
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x14], edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aeb39
add esp, 4
mov ebx, eax
test edi, edi
je 0x4103af
mov ecx, edi
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x14]
push edi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x4103d2
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call dword [eax + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
cmp word [ebx], 0
je 0x4103f6
push ebx
lea ecx, [ebp - 0x38]
call fcn.0044c650
push ebx
call fcn.004aeb42
mov edx, dword [ebp - 0x3c]
add esp, 4
test edx, edx
jne 0x410413
cmp dword [ebp - 0x24], 0
mov edx, 0x6e2dcc
cmovne edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0040af80
mov byte [ebp - 4], 3
mov ecx, esi
push edx
mov dword [esi], vtable.CWString.0
call fcn.0044de00
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040baa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446f30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6fe068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], vtable.WinToastLib::IWinToastHandler.0
mov dword [esi], vtable.rg_n9434::rg_n9444.1.0
mov dword [esi + 0xc], vtable.rg_n9434::rg_n9444.0
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 4
cmp dword [0x7033b8], 0x80
jl 0x447043
push 0x7033bc
call fcn.0044d1c0
mov edi, dword [0x7033b4]
add esp, 4
test edi, edi
je 0x447035
mov eax, dword [edi]
mov dword [0x7033b4], eax
mov dword [0x7033bc], 1
test edi, edi
jne 0x447061
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x447139
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
mov dword [edi], vtable.CRefObject.0
mov dword [edi + 4], 1
mov byte [ebp - 4], 6
lea ecx, [edi + 8]
mov dword [edi], vtable.CRefObjectWithData_class_WinToastLib::WinToastTemplate_.0
mov dword [ebp - 0x18], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 8
xor eax, eax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 7
mov word [ecx + 0x18], ax
mov byte [ebp - 4], 9
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], 7
mov word [ecx + 0x30], ax
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], 7
mov word [ecx + 0x48], ax
mov byte [ebp - 4], 0xb
push ecx
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], 1
mov dword [ecx + 0x70], eax
call fcn.00454000
mov byte [ebp - 4], 4
mov dword [esi + 0x10], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004b7843
int3
Function at 0x4495f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e23bb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x6fe068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x7033a0], 0x6e57f4
mov dword [0x7033a8], 0x6e5a44
push 0
mov dword [ebp - 0x14], 0x7033a0
mov dword [0x7033bc], 1
mov dword [0x7033b8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x44989e
lea eax, [ecx + 0x400000]
mov dword [0x7033b4], ecx
mov dword [0x7033b0], eax
mov edx, 0x1555
mov eax, dword [0x7033b8]
mov dword [0x7033ac], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x7033b8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x7033b8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x7033b8]
add ecx, eax
sub edx, 1
jne 0x449684
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x7033c0
mov dword [ebp - 0x18], 0x7033c0
mov dword [ebp - 0x1c], 0x7033c0
mov dword [0x7033c0], 0x6e2c88
mov dword [0x7033c4], edx
mov dword [0x7033c8], edx
mov byte [ebp - 4], 1
mov dword [0x7033c0], 0x6e2d40
mov dword [0x7033cc], edx
mov dword [0x7033d4], edx
mov dword [0x7033d0], edx
mov dword [0x7033d8], 0x40
mov byte [ebp - 4], 2
mov dword [0x7033d8], 0x80
mov byte [ebp - 4], 5
mov dword [0x7033dc], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x7033f0
mov dword [ebp - 0x20], 0x7033f0
call esi
mov byte [ebp - 4], 7
mov dword [0x703408], 0
mov byte [ebp - 4], 8
push 0x703414
mov dword [ebp - 0x24], 0x703414
call esi
mov byte [ebp - 4], 9
mov dword [0x70342c], 0x3e8
mov dword [ebp - 0x28], 0x703440
mov dword [ebp - 0x2c], 0x703440
mov dword [0x703440], 0x6e2c88
mov dword [0x703444], 0
mov dword [0x703448], 0
mov byte [ebp - 4], 0xa
mov dword [0x703440], 0x6e2d40
mov dword [0x70344c], 0
mov dword [0x703454], 0
mov dword [0x703450], 0
mov dword [0x703458], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x703458], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x703434], 0x3e80
mov dword [0x703438], 1
mov dword [0x70343c], 0
lea eax, [eax*2 + 2]
mov dword [0x703430], eax
mov byte [ebp - 4], 0xe
push 0x70345c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x703474
call fcn.00448f40
mov byte [ebp - 4], 0x10
mov dword [0x7033e0], 0
mov dword [0x70349c], 0
movsd xmm0, qword [0x6eb148]
movsd qword [0x7033e8], xmm0
xorps xmm0, xmm0
mov dword [0x7034a0], 0
mov dword [0x7034a4], 0
mov dword [0x7034a8], 0
mov dword [0x7033e4], 0
movq qword [0x70340c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x7033a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004b7843
int3
Function at 0x44a4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x44a4cf
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x44a5a5
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x44a5a5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x44a59c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x44a580
cmp edi, 1
jne 0x44a545
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x44a597
cmp edi, 2
jne 0x44a558
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x44a597
cmp edi, 4
jne 0x44a569
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x44a597
cmp edi, 8
jne 0x44a580
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x44a597
test edi, edi
jle 0x44a597
push edi
mov ecx, esi
call fcn.0044c5a0
push edi
push ebx
push eax
call fcn.004b06a0
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44b0a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e269d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x6fe068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test ecx, ecx
je 0x44b232
cmp word [ecx], 0
je 0x44b232
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x7c], 0x44
test eax, eax
js 0x44b119
or dword [ebp - 0x50], 1
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], method.CVolRefObject.virtual_0
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x38]
call fcn.0044c650
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x44b19f
xor esi, esi
jmp 0x44b1c2
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x44b1fd
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x44b1f8
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x44b1fd
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44b27c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp + 8]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b2b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e26fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6fe068]
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
push 9
push str.browse:__
push ebx
call fcn.004bc8a2
add esp, 0xc
test eax, eax
jne 0x44b3be
lea ecx, [ebp - 0x278]
call fcn.0040af80
mov dword [ebp - 4], 0
lea eax, [ebx + 0x12]
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - method.CVolRefObject.virtual_0], vtable.CWString.0
call fcn.0044de00
mov dword [ebp - 4], 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0044ef20
mov byte [ebp - 4], 2
mov edx, eax
push 0x6e3e14
lea ecx, [ebp - 0x2a4]
call fcn.0044ede0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x44b36d
cmp dword [eax + 0x24], ecx
mov ecx, 0x6e2dcc
je 0x44b36d
mov ecx, dword [eax + 0x1c]
push 1
push 0
push ecx
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.0040baa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.0040baa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0040baa0
mov eax, 1
jmp 0x44b505
push 0xa
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x44b3b4
xor eax, eax
mov edx, str..htm
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.0044b250
add esp, 4
test eax, eax
je 0x44b503
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44b405
lea eax, [ebp - 0x21c]
mov ecx, 0xa
mov esi, str._shellopencommand
mov edx, eax
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0044b250
add esp, 4
test eax, eax
je 0x44b503
lea eax, [ebp - 0x21c]
push str.__1_
push eax
call fcn.004aff26
add esp, 8
test eax, eax
je 0x44b455
xor ecx, ecx
mov word [eax], cx
jmp 0x44b496
lea eax, [ebp - 0x21c]
push 0x6e5938
push eax
call fcn.004aff26
add esp, 8
test eax, eax
je 0x44b474
xor ecx, ecx
mov word [eax], cx
jmp 0x44b496
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b480
sub ecx, edx
sar ecx, 1
lea eax, [ebp + ecx*2 - 0x21e]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040bd70
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push 0x20
call fcn.0044dd80
push ebx
lea ecx, [ebp - 0x24c]
call fcn.0044de00
mov eax, dword [ebp - 0x240]
test eax, eax
jne 0x44b4df
cmp dword [ebp - 0x228], 0
mov eax, 0x6e2dcc
cmovne eax, dword [ebp - 0x230]
push 0xffffffffffffffff
mov ecx, eax
call fcn.0044b0a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040baa0
mov eax, esi
jmp 0x44b505
xor eax, eax
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.004ae58b
mov esp, ebp
pop ebp
ret
Function at 0x44cb60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x44cc2f
cmp word [eax], 0
je 0x44cc2f
push ebx
push edi
push 0x6e5970
push eax
or ebx, 0xffffffff
call fcn.004bc825
mov edi, eax
add esp, 8
test edi, edi
je 0x44cc02
push 2
push 0
push edi
call fcn.004b8036
push edi
call fcn.004bd279
push 0
push 0
push edi
mov ebx, eax
call fcn.004b8036
add esp, 0x1c
test ebx, ebx
jle 0x44cbf2
push edi
push ebx
push 1
push ebx
mov ecx, esi
call fcn.0044c540
push eax
call fcn.004bcb9a
push edi
mov ebx, eax
call fcn.004bd480
add esp, 0x14
test eax, eax
jne 0x44cbf6
push ebx
mov ecx, esi
call fcn.0044c5a0
push edi
call fcn.004b7d1d
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
pop ebp
ret 8
xor ebx, ebx
jmp 0x44cbf9
or ebx, 0xffffffff
push edi
call fcn.004b7d1d
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x44cc11
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0xc]
pop edi
mov eax, ebx
mov dword [esi + 0xc], 0
pop ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
pop esi
pop ebp
ret 8
or eax, 0xffffffff
pop esi
pop ebp
ret 8

Function at 0x44fbd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2a4e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 0x104
push ebx
push str.APPDATA
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
and esi, 0x7ff8ffa9
add esi, 0x80070057
test eax, eax
je 0x44fc4a
push str.MicrosoftWindowsStart_MenuPrograms_
push 0x104
push ebx
call fcn.004b2a07
add esp, 0xc
neg eax
sbb esi, esi
and esi, 0x80070057
test esi, esi
js 0x44fcc5
mov dword [ebp - 4], 0
mov eax, bind
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x44fce3
cmp dword [edi + 0x14], 8
jb 0x44fc6c
mov edi, dword [edi]
push 4
push ecx
push ecx
push edi
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.00455420
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x104
push ebx
call fcn.004b2a07
add esp, 0xc
mov ecx, 1
neg eax
mov dword [ebp - 0x30], ecx
sbb esi, esi
and ecx, 0xfffffffe
and esi, 0x80070057
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00439940
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ae58b
mov esp, ebp
pop ebp
ret
call fcn.00439320
int3
Function at 0x4b76fd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b773c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b773c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b773c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b773c
cmp dword [ecx + 0x74], 0xe
jbe 0x4b773c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4bd072
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004af0d0
mov eax, dword [0x6fe068]
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.004c6d6c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4bd0b4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4bd210
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004af020
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 + 0x702af8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004c16ae
mov ecx, dword [esi*4 + 0x702af8]
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 0x4bd209
cmp eax, dword [ecx + edi + 0x24]
jne 0x4bd209
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 0x4bd209
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c16ae
add esp, 0x14
test edx, edx
jl 0x4bd209
jg 0x4bd17f
test eax, eax
jb 0x4bd209
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4bd209
jl 0x4bd199
cmp dword [ebp - 0x1008], eax
ja 0x4bd209
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4bd1b7
test ebx, ebx
je 0x4bd1f0
cmp ecx, edi
jae 0x4bd1f0
mov al, byte [ecx]
cmp al, 0xd
jne 0x4bd1d1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4bd1dd
cmp byte [ecx + 1], 0xa
jne 0x4bd1dd
inc ecx
jmp 0x4bd1dd
movzx eax, al
movsx eax, byte [eax + 0x6fe170]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4bd1b7
cmp edx, ebx
jne 0x4bd1b7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4bd20e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ae58b
leave
ret
Function at 0x4c112e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x4f38b8
push esi
call fcn.004ca4e6
pop ecx
pop ecx
test eax, eax
jne 0x4c115c
xor al, al
jmp 0x4c11d9
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.004c0e63
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4c1196
push dword [ebp - 0x210]
call fcn.004b29a1
xor al, al
jmp 0x4c11d7
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4c119c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4c11bc
push edx
call fcn.004c1065
pop ecx
test al, al
je 0x4c1187
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4c11ca
mov bl, 1
push dword [ebp - 0x210]
call fcn.004b29a1
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ae58b
leave
ret