joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x14cb473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x14e52a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x14e52a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x14e410c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14cb47a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x100142df
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x100408ba
call fcn.1003f015
mov edi, ecx
sub esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10014283
xor eax, eax
push eax
push eax
push edi
push 0x100143a0
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10014323
push 0xffffffffffffffff
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [edi + 8], 0
jne 0x10014367
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, 0x10
call fcn.1002d987
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
push 1
xor eax, eax
mov byte [ebp - 4], 2
mov esi, dword [edi]
push eax
push eax
push ebx
mov ecx, dword [esi + 8]
push 0x100077cc
push eax
call dword [0x1004d3bc]
mov ecx, edi
call dword [esi + 8]
lea ecx, [ebx - 0x10]
call fcn.1002d9fa
cmp byte [ebp - 0x18], 0
je 0x10014376
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
call fcn.1003ef84
ret

Function at 0x100157f3
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push 0x220
mov eax, 0x10040a82
call fcn.1003efde
mov ebx, ecx
lea ecx, [ebp - 0x224]
call fcn.1002f04b
xor esi, esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], esi
push dword [eax]
call fcn.10027aaa
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.1002d9fa
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push dword [ebp - 0x22c]
call fcn.1002f04b
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.1002f04b
call fcn.1002d823
push eax
lea ecx, [ebp - 0x224]
call fcn.1002f04b
xor edi, edi
mov byte [ebp - 4], 4
inc edi
push edi
jmp 0x10015889
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
inc edi
push edi
push dword [ebp - 0x22c]
lea eax, [ebp - 0x224]
push 0x10007824
push eax
call fcn.1002f04b
mov esi, dword [ebp - 0x224]
lea ecx, [ebp - 0x228]
add esp, 0x10
push esi
call fcn.10027aaa
push dword [ebp - 0x228]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015879
push dword [ebp - 0x228]
lea ecx, [ebp - 0x220]
call fcn.1002f04b
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
cmp dword [esi - 4], 1
jle 0x100158fe
push dword [esi - 0xc]
lea ecx, [ebp - 0x224]
call fcn.1002f04b
mov esi, dword [ebp - 0x224]
xor edi, edi
push edi
push edi
push edi
push esi
push 0x10007850
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.1002d9fa
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
call fcn.1003ef99
ret
Function at 0x100166db
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100400b0
call fcn.1003efaa
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1001670d
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
jmp 0x1001678e
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.1002d987
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
je 0x10016732
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x1001676a
cmp dword [ebp + 0xc], ebx
jne 0x1001676a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016782
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.1002f04b
jmp 0x10016784
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.1002d9fa
mov al, bl
call fcn.1003ef84
ret 8
Function at 0x1001aa10
Capabilities:
Get file size

Disassembly:
push 0x38
mov eax, 0x10041ef7
call fcn.1003efaa
mov edi, ecx
lea ecx, [ebp - 0x1c]
call fcn.100166a4
xor esi, esi
lea ebx, [edi + 0x30]
mov dword [ebp - 4], esi
mov ecx, eax
push dword [edi + 0x34]
push esi
push ebx
call fcn.10016796
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1002d9fa
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push ecx
push esi
push 0x80
xor eax, eax
lea ecx, [ebp - 0x2c]
push 3
inc eax
push eax
push SysReAllocStringLen
mov dword [ebp - 4], eax
push dword [ebx]
call fcn.1002f04b
test eax, eax
jns 0x1001ab1b
push 0x10006578
lea ecx, [ebp - 0x14]
call fcn.10027aaa
mov esi, eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10026ef0
push eax
mov edx, 0x10008144
lea ecx, [ebp - 0x10]
call fcn.100271b2
push esi
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10011026
lea ecx, [ebp - 0x10]
call fcn.1000fdc0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1000fdc0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.100110b0
mov byte [ebp - 4], 7
mov ecx, eax
mov edi, dword [edi + 0x34]
mov edx, dword [edi]
call fcn.10026eec
mov esi, dword [edx + 4]
mov ecx, esi
push eax
push 0
call dword [0x1004d3bc]
mov ecx, edi
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000fdc0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.10011830
push 0x10048adc
lea eax, [ebp - 0x20]
push eax
call fcn.1002f04b
push dword [ebp + 8]
mov ecx, edi
call fcn.1002f04b
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
jne 0x1001ab4c
call fcn.1002cf84
test eax, eax
js 0x1001ab60
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov esi, ecx
mov edx, 0x1000000
test eax, eax
jne 0x1001ab5e
cmp ecx, edx
jbe 0x1001ab60
mov esi, edx
push esi
xor esi, esi
lea ebx, [edi + 4]
push esi
push 0x435
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 2
push 0x449
push dword [ebx]
mov dword [ebp - 0x30], 0x1001abf0
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x34], esi
je 0x1001abbe
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push dword [edi + 0x30]
push 0x10008178
push 4
push dword [edi + 0x34]
push eax
call fcn.1000ff0c
add esp, 0x18
cmp dword [ebp - 0x2c], esi
je 0x1001abcf
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x2c], esi
push esi
push esi
mov ecx, ebx
call fcn.1002f04b
cmp dword [ebp - 0x2c], esi
je 0x1001abe6
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.1003ef84
ret 4
Function at 0x1001bc13
Capabilities:
Enumerate gui resources

Disassembly:
push 0x30
mov eax, 0x100421a0
call fcn.1003efaa
mov dword [ebp - 0x10], edx
mov esi, ecx
push 0x1000854c
lea ecx, [ebp - 0x14]
call fcn.10027aaa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x10008560
push ecx
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 4], ebx
call fcn.1000fe41
mov ecx, dword [ebp - 0x10]
call fcn.10024ec7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
push 0x1001be50
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002f04b
push ecx
push dword [ebp - 0x10]
mov edx, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1001bd3a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
jne 0x1001bcb3
push 0x100085b8
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
jmp 0x1001bd0d
push 0x100085e4
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
call fcn.1001bba7
mov ecx, dword [edi]
push dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], ebx
jle 0x1001bd0d
push ebx
mov ecx, eax
call fcn.1002f04b
mov ecx, dword [edi]
push dword [eax + 0x10]
mov esi, dword [ecx + 4]
mov ecx, esi
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x1001bce6
lea ecx, [ebp - 0x20]
call fcn.10024ec7
lea ecx, [ebp - 0x3c]
call fcn.10024ec7
lea ecx, [ebp - 0x2c]
call fcn.1002f04b
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
xor eax, eax
call fcn.1003ef84
ret 4
Function at 0x1001be62
Capabilities:
Get graphical window text

Disassembly:
push 0x2c
mov eax, 0x100421f6
call fcn.1003efaa
mov eax, edx
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x14]
xor ebx, ebx
push ecx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 0x14]
je 0x1001bfc8
call fcn.1002d823
push eax
lea ecx, [ebp - 0x10]
call fcn.1002f04b
mov dword [ebp - 4], ebx
xor ecx, ecx
mov esi, dword [ebp - 0x10]
inc ecx
mov edx, 0x200
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1001bed0
push edx
lea ecx, [ebp - 0x10]
call fcn.1002f04b
mov esi, dword [ebp - 0x10]
mov edx, 0x200
push edx
lea ecx, [ebp - 0x10]
call fcn.1002f04b
cmp dword [esi - 4], 1
mov eax, dword [esi - 8]
mov dword [ebp - 0x24], eax
jle 0x1001bef6
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1002f04b
push dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.1002f04b
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x10]
setne byte [ebp - 0x24]
push dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.1001bb0f
mov byte [ebp - 4], 2
cmp dword [edi + 4], ebx
jle 0x1001bfa2
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x38]
push ebx
call fcn.1002f04b
cmp edi, dword [eax]
mov edi, dword [ebp - 0x18]
je 0x1001bf66
inc ebx
cmp ebx, dword [edi + 4]
jl 0x1001bf4b
jmp 0x1001bfa2
push ebx
mov ecx, edi
call fcn.1002f04b
mov edx, eax
mov ecx, dword [edx]
sub ecx, dword [ebp - 0x38]
jne 0x1001bf96
cmp byte [edx + 0xc], cl
setne cl
xor eax, eax
cmp byte [ebp - 0x2c], al
setne al
sub ecx, eax
jne 0x1001bf96
push dword [ebp - 0x30]
lea ecx, [edx + 8]
call fcn.1002f04b
mov ecx, eax
test ecx, ecx
jns 0x1001bfad
push ebx
mov ecx, edi
call fcn.1002f04b
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.10024f57
lea ecx, [ebp - 0x38]
call fcn.1001bfd6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.1002d9fa
lea ecx, [esi - 0x10]
call fcn.1002d9fa
xor eax, eax
inc eax
call fcn.1003ef84
ret

Function at 0x1001c46b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1001c47f
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 8], 0
je 0x1001c490
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x1001cb9f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x30
mov eax, 0x100423ba
call fcn.1003efaa
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x68]
mov dword [eax + 4], 0x67
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, esi
mov ebx, eax
call fcn.1001cd7c
mov edi, dword [esi + 0x12c]
mov edx, dword [edi]
mov esi, dword [edx + 0x14]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov edi, eax
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esi + 0x10]
sub eax, ebx
push eax
call dword [0x1004d3bc]
mov ecx, edi
call dword [esi + 0x10]
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0x128], 0
je 0x1001cc0e
xor eax, eax
jmp 0x1001cd76
mov edi, dword [esi + 0x70]
lea ebx, [esi + 4]
mov eax, dword [ebx]
add edi, 0xca8
mov dword [ebp - 0x10], eax
push dword [edi + 0x84]
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [edi + 0x7c]
push eax
push dword [esi + 0x104]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
lea eax, [edi + 0xa0]
push eax
push 0x6f
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp - 0x10]
call fcn.1002f04b
lea eax, [edi + 0xb4]
push eax
push 0x70
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp - 0x10]
call fcn.1002f04b
lea eax, [edi + 0xc8]
push eax
push dword [esi + 0x9c]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
lea eax, [edi + 0xdc]
push eax
push dword [esi + 0xd0]
lea ecx, [ebp - 0x10]
call fcn.1002f04b
lea eax, [edi + 0x1c]
push eax
lea eax, [edi + 0xc]
push eax
push dword [ebx]
lea ecx, [esi + 0x148]
call fcn.1002441e
xor eax, eax
mov ecx, ebx
cmp byte [esi + 0x128], al
setne al
lea eax, [eax*2 + 1]
push eax
call fcn.1002f04b
push ecx
mov ecx, dword [edi + 8]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
call fcn.1002d987
add eax, 0x10
mov dword [esi], eax
and dword [ebp - 4], 0
push ecx
mov ecx, dword [edi + 4]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x18], esi
call fcn.1002d987
or dword [ebp - 4], 0xffffffff
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10023fb2
mov eax, dword [esi + 0x70]
lea ecx, [ebp - 0x3c]
add eax, 0xddc
push eax
push edi
call fcn.100138a8
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002f04b
push 0x67
push 0xfffffffffffffff4
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx]
mov esi, dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetParent]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x6f5
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x3c]
call fcn.10015189
mov eax, edi
call fcn.1003ef84
ret
Function at 0x1001d4e3
Capabilities:
Hide graphical window

Disassembly:
push 0x20
mov eax, 0x10042537
call fcn.1003efaa
mov ebx, ecx
mov byte [ebp - 0xd], 0
call fcn.1002d823
push eax
lea ecx, [ebp - 0x18]
call fcn.1002f04b
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x12c]
mov edi, dword [ebx + 0x12c]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
push eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.1001bc13
test eax, eax
js 0x1001d66e
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x1001d66e
xor esi, esi
mov dword [ebp - 0x14], esi
test eax, eax
jle 0x1001d662
push esi
lea ecx, [ebp - 0x2c]
call fcn.1002f04b
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
je 0x1001d5eb
push esi
lea ecx, [ebp - 0x2c]
call fcn.1002f04b
mov al, byte [eax + 0xc]
test al, al
je 0x1001d5eb
push esi
lea ecx, [ebp - 0x2c]
call fcn.1002f04b
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x20], esi
mov ecx, dword [eax + 8]
sub ecx, 0x10
call fcn.1002d987
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0x12c]
push 3
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10026e86
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push esi
call fcn.1002f04b
push dword [eax + 8]
jmp 0x1001d644
push esi
lea ecx, [ebp - 0x2c]
call fcn.1002f04b
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.1002d987
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov edi, dword [ebx + 0x12c]
push 3
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10026e86
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push esi
call fcn.1002f04b
push dword [eax + 4]
lea eax, [ebp - 0x18]
push 0x10008860
push eax
call fcn.1002f04b
add esp, 0xc
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x28]
jl 0x1001d56e
mov eax, dword [ebx + 0x134]
mov byte [ebp - 0xd], 1
jmp 0x1001d674
mov eax, dword [ebx + 0x130]
push eax
push 1
push 0x172
push 0x6f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, dword [ebp - 0x18]
push esi
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 0xd], 0
je 0x1001d6af
push 1
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
jmp 0x1001d6bf
xor edi, edi
push edi
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xd], 0
je 0x1001d6d5
xor eax, eax
jmp 0x1001d6db
mov al, byte [ebx + 0x128]
lea ecx, [ebp - 0x2c]
mov byte [ebx + 0x128], al
call fcn.10024ec7
lea ecx, [esi - 0x10]
call fcn.1002d9fa
call fcn.1003ef84
ret
Function at 0x10026b2e
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x10042f86
call fcn.1003efde
mov esi, ecx
mov dword [ebp - 0x128], esi
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], ecx
mov dword [ebp - 0x12c], esi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
push 0x58
lea eax, [esi + 0x20]
mov dword [ebp - 4], ecx
push ecx
push eax
call fcn.10031290
xor eax, eax
lea edi, [esi + 0x27c]
xor ecx, ecx
mov word [edi], ax
mov word [esi + 0x7c], cx
and dword [esi + 0x78], eax
lea eax, [ebp - 0x120]
push 0x110
push ecx
push eax
mov dword [esi + 0x20], 0x58
call fcn.10031290
add esp, 0x18
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x10026bd1
cmp dword [ebp - 0x120], 5
jae 0x10026bd8
cmp dword [ebp - 0x120], 4
jne 0x10026bd1
cmp dword [ebp - 0x11c], 0x5a
jae 0x10026bd8
mov dword [esi + 0x20], 0x4c
mov dword [esi + 0x3c], edi
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov ecx, 0x104
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x5c], 0x100098a4
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880426
mov eax, dword [0x1004c824]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x10029c90
mov dword [esi + 0x24], eax
test ebx, ebx
je 0x10026c31
push 0xffffffffffffffff
push ebx
push ecx
push edi
call fcn.1002f04b
add esp, 0x10
mov ecx, eax
call fcn.1002d07e
mov eax, esi
call fcn.1003ef99
ret 0x18
Function at 0x10029b04
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x100432ba
call fcn.1003efaa
mov ebx, ecx
mov dword [ebp - 0x28], ebx
and dword [ebp - 0x1c], 0
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.1002d823
push eax
mov ecx, ebx
call fcn.1002f04b
mov dword [ebp - 0x1c], esi
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x40]
call fcn.100103be
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
call fcn.10010764
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.1002d9fa
test esi, esi
je 0x10029c3e
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.10010764
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.10027aaa
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1002d987
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
call fcn.1002d823
push eax
lea ecx, [ebp - 0x18]
call fcn.1002f04b
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.1002f04b
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push edi
call fcn.10027aaa
mov byte [ebp - 4], 9
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x10029c17
lea ecx, [ebp - 0x20]
call fcn.100109e8
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.1002f04b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.1002f04b
jmp 0x10029c22
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.1002f04b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
lea ecx, [edi - 0x10]
call fcn.1002d9fa
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
jmp 0x10029c5c
lea ecx, [ebp - 0x24]
call fcn.100109e8
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.1002f04b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
push dword [ebp + 8]
mov ecx, ebx
call fcn.1002f04b
lea ecx, [ebp - 0x40]
call fcn.10010740
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
mov eax, ebx
call fcn.1003ef84
ret 4