joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002abfa
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002ac38
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002ac22
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1002ac36
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002ac36
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1002ac60
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x45cb
push 0x5f68
mov edx, dword [ebp - 0x10]
xor cl, cl
call fcn.1002ab7f
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x1002b2ac
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b2ee
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 0x5d86
push 0x38d3
push dword [ebp - 8]
push 0
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4ad
call fcn.1002e358
add esp, 0x18
jmp 0x1002b3c9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002b31f
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1002b3c9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x7e2799ac
mov dword [ebp - 0x1c], 1
mov byte [ebp - 1], 0
push 0x2b2d
push 0x42c6
push 0x2756
push 0
push 0x2182
lea eax, [ebp - 1]
push eax
push 0x7648
push 0
push 0x2efd
push 0x1105
call fcn.1002d5cb
add esp, 0x28
lea eax, [ebp - 0x1c]
push eax
push 0x1910
push 0x6789
push 1
push 0x103b
push 0
lea eax, [ebp - 0x20]
push eax
push 0x43a5
push 0x3134
push 1
call fcn.1002f092
add esp, 0x28
lea eax, [ebp - 0x40]
push eax
call fcn.1002954a
pop ecx
mov esi, eax
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.1002ab4a
shl eax, 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032205
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100322d1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x100322c3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov eax, dword [ebp - 0x40]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
call fcn.1002d72c
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
call fcn.10035401
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10035436
jmp 0x100322cf
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1003234c
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1003233a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1003231b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 4
jge 0x10032338
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.100203e6
mov dword [eax], 4
jmp 0x10032310
jmp 0x1003234c
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10034473
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10034508
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100344ee
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100344cf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x100344ec
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.100203e6
mov dword [eax], 0x16210b99
jmp 0x100344c4
jmp 0x10034506
push 0x1522
push 0
push 0
push 0
push 0
push 0x207e
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1003454b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push 0x43b7
push 0x6f1a
push 0xeb8
push 0x2ec1
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
push 0x2e8
push 0xcb8
call fcn.1002ae81
add esp, 0x28
mov esp, ebp
pop ebp
ret

Function at 0x100368ed
Capabilities:
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003692e
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10036924
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10036922
push 1
push 1
call fcn.100363de
pop ecx
pop ecx
jmp 0x1003692c
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1003697f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1003696d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1003696b
push 0x4594
push 1
push 1
call fcn.1003636d
add esp, 0xc
jmp 0x1003697f
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10039386
Capabilities:
Get disk size
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100393c0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x67b8
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.1003b90b
add esp, 0x14
jmp 0x1003940a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100393fe
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100393fc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1003940a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret
Function at 0x100395d8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10039609
push 0x1924
push 1
push 0x3be9
push 0x61c1
push 0xdf4
call fcn.100397c9
add esp, 0x14
jmp 0x100397c5
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100397bd
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003967b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100397bb
mov dword [ebp - 8], 0xdd890aaf
mov dword [ebp - 0xc], 0
mov eax, 0x977f
test eax, eax
je 0x10039731
cmp dword [ebp - 8], 0
jne 0x100396b1
mov dword [ebp - 0x10], 1
jmp 0x100396b5
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x409e
jg 0x100396c7
mov dword [ebp - 0x5c], 1
jmp 0x100396cb
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, 0xfcbc842
test eax, eax
je 0x100396ea
xor eax, eax
inc eax
je 0x100396ea
mov dword [ebp - 0x14], 1
jmp 0x100396ee
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x41
jg 0x100396fd
mov dword [ebp - 0x18], 1
jmp 0x10039701
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003971c
cmp dword [ebp - 0xc], 0
je 0x1003971c
mov dword [ebp - 0x1c], 1
jmp 0x10039720
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x1c], eax
jl 0x10039731
mov dword [ebp - 0x20], 1
jmp 0x10039735
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x10039748
mov dword [ebp - 0x24], 1
jmp 0x1003974c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 8]
jg 0x10039762
mov dword [ebp - 0x28], 1
jmp 0x10039766
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 1
jle 0x10039775
mov dword [ebp - 0x2c], 1
jmp 0x10039779
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfff7
cmp eax, 0x39b7c392
jne 0x10039791
mov dword [ebp - 0x30], 1
jmp 0x10039795
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x5889
jle 0x100397a7
mov dword [ebp - 0x34], 1
jmp 0x100397ab
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
jmp 0x10039670
jmp 0x100397c5
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x10039982
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100399f0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100399db
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.100550f4
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x100399eb
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x10039ab0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10039a65
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10039a46
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10039a63
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.100203e6
mov dword [eax], 1
jmp 0x10039a3b
jmp 0x10039ab0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10039a93
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10039ab0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100203e6
mov dword [eax], 0xca70051e
jmp 0x10039a88
mov esp, ebp
pop ebp
ret

Function at 0x1003ab7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003aba8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.100492de
add esp, 0xc
jmp 0x1003abf8
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003abd8
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003abd6
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003abf8
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003abf8
push 0x2ba
push 0
push 0x3244
call fcn.1003a13b
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1003cbab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003cbd7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.1003cc22
add esp, 0xc
jmp 0x1003cc1e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003cc06
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1003cc1e
push 0x1522
push 0
push 0
push 0
push 0
push 0x207e
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x1003cdc1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003ce66
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003ce42
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003ce23
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1003ce40
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.100203e6
mov dword [eax], 0xd16df251
jmp 0x1003ce18
jmp 0x1003ce64
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003ce64
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1003ce82
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.1003e621
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1003fb27
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003fb59
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x355f
push dword [ebp - 4]
push 1
push 0x7ff1
push 0x21a7
call fcn.1003fba2
add esp, 0x14
jmp 0x1003fb9e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003fb98
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1003fb96
push 0x1fd1
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x1003fb9e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esp, ebp
pop ebp
ret
Function at 0x100471a2
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100471f7
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100471e8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100471e6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100471f5
push 0
push 0x11f4
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x10047218
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 0x28a1
push 1
push dword [ebp - 0x18]
call fcn.1003d8b5
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x100472f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004731e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0
call fcn.1004a693
add esp, 0xc
jmp 0x10047366
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1004734a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x10047366
push 0x350
push 0x1fc1
push 0x158
push 0x233f
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov esp, ebp
pop ebp
ret

Function at 0x1004a5e6
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004a60a
push 1
push 0x2db3
push 0x7d0
call fcn.1004a66a
add esp, 0xc
jmp 0x1004a666
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1004a65a
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1004a658
push 0x63ec
push 0x19b3
push 0x653d
push 0
push 1
push 1
push 0x1f17
call fcn.100495fa
add esp, 0x1c
jmp 0x1004a666
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov esp, ebp
pop ebp
ret
Function at 0x10067965
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10071740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10058878
mov dword [ebp - 0x14], eax
cmp dword [0x10614f74], esi
jne 0x10067a58
push 0x800
push esi
push 0x100075a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100679e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10067b38
push esi
push esi
push 0x100075a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10067b38
push 0x100075b8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10067b38
push eax
call ebx
push 0x100075c4
push edi
mov dword [0x10614f74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075d4
push edi
mov dword [0x10614f78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075e8
push edi
mov dword [0x10614f7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10614f84], eax
test eax, eax
je 0x10067a55
push 0x10007604
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10614f80], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10067a7d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10067a70
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10067a92
push 4
pop eax
jmp 0x10067b3a
cmp dword [ebp - 0x14], esi
je 0x10067a92
push dword [0x10614f74]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10067a77
mov eax, dword [0x10614f80]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10067af0
cmp dword [0x10614f84], edi
je 0x10067af0
push eax
call ebx
push dword [0x10614f84]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10067af0
test eax, eax
je 0x10067af0
call ecx
test eax, eax
je 0x10067ae5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10067ae5
test byte [ebp - 8], 1
jne 0x10067af0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10067b20
mov eax, dword [0x10614f78]
cmp eax, edi
je 0x10067b1d
push eax
call ebx
test eax, eax
je 0x10067b1d
call eax
mov esi, eax
test esi, esi
je 0x10067b1d
mov eax, dword [0x10614f7c]
cmp eax, edi
je 0x10067b1d
push eax
call ebx
test eax, eax
je 0x10067b1d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10614f74]
call ebx
test eax, eax
je 0x10067b38
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10067b3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100558e3
mov esp, ebp
pop ebp
ret