joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007b000
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114368
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
mov eax, dword [0x1013d8f0]
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 dword [ebp - 0x10], esp
cmp dword [ebp + 0xc], 1
jne 0x1007b145
push 0x24
push 0
push 0x10153450
call fcn.100e6130
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [0x1015346c], eax
mov ecx, dword [0x1015346c]
mov dword [0x10153400], ecx
mov dword [0x10153450], 2
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.100bc7b0
add esp, 8
mov eax, dword [0x1015340c]
mov ecx, dword [0x1015340c]
mov edx, dword [eax + 0x34]
xor edx, dword [ecx + 0x2c]
mov eax, dword [0x1015340c]
xor edx, dword [eax + 4]
and edx, 0x40000
je 0x1007b136
mov cl, byte [0x1013f10a]
mov byte [ebp - 0x58], cl
push 0x3f
push 0
lea edx, [ebp - 0x57]
push edx
call fcn.100e6130
add esp, 0xc
push 0x40
lea eax, [ebp - 0x58]
push eax
push 0x1013f0f8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1007b0da
lea ecx, [ebp - 0x58]
push ecx
call fcn.1007b270
add esp, 4
mov dword [0x10153580], eax
push fcn.10085110
lea edx, [ebp - 0x7c]
push edx
call fcn.1007b310
add esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
call fcn.1007fed0
push eax
push 0x1013f0f8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
lea ecx, [ebp - 0x7c]
call fcn.1007fe90
mov eax, 1
jmp 0x1007b249
call fcn.10085110
jmp 0x1007b249
cmp dword [ebp + 0xc], 0
jne 0x1007b204
mov ecx, dword [0x1015340c]
mov edx, dword [0x1015340c]
mov eax, dword [ecx + 0x34]
xor eax, dword [edx + 0x2c]
mov ecx, dword [0x1015340c]
xor eax, dword [ecx + 4]
and eax, 0x40000
je 0x1007b18a
push 0
push 0x1013f0f8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, 1
jmp 0x1007b249
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], 1
cmp dword [0x10153470], 0
je 0x1007b1d0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x10153470]
mov dword [ebp - 0x5c], eax
jmp 0x1007b1c9
mov dword [ebp - 4], 1
call fcn.100850e0
mov eax, dword [ebp - 0x5c]
jmp 0x1007b249
mov dword [ebp - 0x60], 1
cmp dword [0x10153470], 0
je 0x1007b246
mov dword [ebp - 4], 5
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x10153470]
mov dword [ebp - 0x60], eax
jmp 0x1007b23f
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
mov eax, dword [ebp - 0x60]
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.100e6605
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10084430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x1008449c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x100844e3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.100eadb1
add esp, 8
test eax, eax
jne 0x100844e1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x100844e5
jmp 0x10084493
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10085110
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1013d8f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 0x1013f0f8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp dword [0x10153580], 0
je 0x10085159
mov eax, dword [0x10153580]
mov dword [ebp - 8], eax
mov dword [0x10153580], 0
call dword [ebp - 8]
test eax, eax
jne 0x10085159
xor eax, eax
jmp 0x10085241
call fcn.10085020
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x100851b6
cmp dword [0x10153470], 0
je 0x100851a7
push 0x10153598
push 1
mov ecx, dword [0x10153400]
push ecx
call dword [0x10153470]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1008519b
call fcn.100850e0
xor eax, eax
jmp 0x10085241
mov eax, 1
jmp 0x10085241
mov eax, 1
jmp 0x10085241
cmp dword [ebp - 4], 0
jne 0x10085237
call fcn.100830e0
push eax
push 0x100
lea edx, reloc.USER32.dll_SetCursor
push edx
call fcn.100eaee5
add esp, 0xc
call fcn.10083100
push eax
call fcn.100e66e0
add esp, 4
test eax, eax
je 0x1008521b
push 0x1013fa84
push 0x100
lea eax, reloc.USER32.dll_SetCursor
push eax
call fcn.100eae74
add esp, 0xc
call fcn.10083100
push eax
push 0x100
lea ecx, reloc.USER32.dll_SetCursor
push ecx
call fcn.100eae74
add esp, 0xc
push 0x40010
push 0
lea edx, reloc.USER32.dll_SetCursor
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x10085241
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100e6605
mov esp, ebp
pop ebp
ret

Function at 0x1008c230
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x1013d8f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.10087090
add esp, 4
movzx edx, al
test edx, edx
je 0x1008c2c1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, reloc.USER32.dll_SetCursor
push ecx
call fcn.100e6130
add esp, 0xc
mov dword [ebp - reloc.USER32.dll_SetCursor], 0x10001
lea edx, reloc.USER32.dll_SetCursor
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1008c2bf
mov edx, dword [ebp - reloc.USER32.dll_SetCursor]
cmp edx, dword [ebp + 0xc]
jne 0x1008c2bf
jmp 0x1008c2c1
jmp 0x1008c243
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6605
mov esp, ebp
pop ebp
ret
Function at 0x1009bf60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1009bfc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1009bfb7
mov edx, dword [0x10153958]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009bfab
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1009bf90
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x1009bfb9
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100bc3a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsx eax, byte [0x101543a0]
test eax, eax
jne 0x100bc3d5
call fcn.100bc210
movzx ecx, byte [0x10154399]
test ecx, ecx
jne 0x100bc48f
movzx edx, byte [0x10154398]
test edx, edx
jne 0x100bc48f
cmp dword [0x101544a4], 0
je 0x100bc438
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x101544a4]
push ecx
call fcn.100c4a70
add esp, 8
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x186
mov eax, dword [0x101544a4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x101544a4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x100bc48f
push 0x101543a0
lea ecx, [ebp - 0x74]
call fcn.100c06c0
mov dword [ebp - 4], 0
push 0x10001
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100c4880
add esp, 0x10
xor edx, edx
cmp eax, 2
sete dl
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
lea ecx, [ebp - 0x74]
call fcn.10084ed0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100bc48f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100c1850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118457
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100c0790
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.100c0790
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.100c0790
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100c1150
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.100c1150
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.100c1150
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c1b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118547
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100c06c0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.100c06c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.100c06c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100c1170
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.100c1170
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.100c1170
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c3840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118cda
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1013d8f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x14], 0x8000
mov dword [ebp - 0x10], 0x10140358
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x45]
push eax
push 0x8000
lea ecx, [ebp - 0x44]
call fcn.100c7200
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.100c2400
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
call fcn.100c0e90
push eax
push 0x8000
push 0
lea ecx, [ebp - 0x44]
call fcn.100c72a0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.100c0e90
push eax
mov ecx, dword [ebp + 0x10]
call fcn.100c0e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.10084ed0
push 0
lea ecx, [ebp - 0x44]
call fcn.100c72a0
push eax
lea ecx, [ebp - 0x34]
call fcn.1007fe10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.100ca9e0
add esp, 8
movzx eax, al
test eax, eax
je 0x100c3973
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.100c1190
mov edx, dword [ebp - 0xac]
or edx, 1
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1007fe90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100c7240
mov eax, dword [ebp + 8]
jmp 0x100c39c3
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.100c6f20
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1007fe90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100c7240
mov eax, dword [ebp + 8]
jmp 0x100c39c3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100e6605
mov esp, ebp
pop ebp
ret
Function at 0x100c4060
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118e91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.100c0e90
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100c4116
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.100c7200
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100c0e90
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov ecx, dword [ebp + 8]
call fcn.1007fe10
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100c7240
mov eax, dword [ebp + 8]
jmp 0x100c4135
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1007fe50
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100c4530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118f81
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100c45d8
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.100c7200
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov ecx, dword [ebp + 8]
call fcn.1007fe10
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100c7240
mov eax, dword [ebp + 8]
jmp 0x100c45f3
mov ecx, dword [ebp + 8]
call fcn.1007fde0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100c4fb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101191f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1013d8f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.100c7200
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.100c72a0
push eax
mov ecx, dword [ebp + 8]
call fcn.1007fe10
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100c7240
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100e0440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x100e044f
mov eax, dword [eax + 4]
jmp 0x100e0452
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, reloc.USER32.dll_SetCursor
jne 0x100e04db
push esi
mov esi, dword [0x10154a18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x100e04c0
cmp eax, 3
je 0x100e04c0
cmp eax, 0x7b
je 0x100e04c0
cmp eax, 0x57
je 0x100e04c0
cmp eax, 0xa1
je 0x100e04c0
cmp eax, 0x35
je 0x100e04c0
cmp eax, 0x20
jne 0x100e04b5
mov eax, dword [0x10154a1c]
mov dword [ecx], eax
mov edx, dword [0x10154a20]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x10154a1c]
mov dword [ecx], eax
mov edx, dword [0x10154a20]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x10154a1c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x10154a20]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x100e0508
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x100e0520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x100e052f
mov eax, dword [eax + 4]
jmp 0x100e0532
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_SetCursor
jne 0x100e05bb
push esi
mov esi, dword [0x10154a18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x100e05a0
cmp eax, 3
je 0x100e05a0
cmp eax, 0x7b
je 0x100e05a0
cmp eax, 0x57
je 0x100e05a0
cmp eax, 0xa1
je 0x100e05a0
cmp eax, 0x35
je 0x100e05a0
cmp eax, 0x20
jne 0x100e0595
mov eax, dword [0x10154a1c]
mov dword [ecx], eax
mov edx, dword [0x10154a20]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x10154a1c]
mov dword [ecx], eax
mov edx, dword [0x10154a20]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x10154a1c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x10154a20]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x100e05e8
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x100e6605
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1013d8f0]
jne 0x100e660f
repz ret
jmp fcn.100f1ccc