joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460ad5
Capabilities:
Encode data using xor

Disassembly:
test byte [eax + 0x11], ah
pop ss
mov byte [eax], 1
outsb dx, byte [esi]
mov byte [eax], 0x8c
mov dword [eax], 0x66a56
lea ecx, [eax + 0x28]
pop esi
cmp dword [ecx - 8], 0x4bf06163
je 0x460afc
or dword [ebx - 0x7f961fef], ecx
add dword [edx], eax
mov edx, dword [ecx]
loopne 0x460b60
add byte [ecx], 2
add byte [ebx + 0x7400f479], al
or cl, byte [ebx - 0xa03fdaf]
jns 0x460af2
add byte [edx + ecx - 0x75], dh
push ecx
add bh, ah
cmc
add cl, al
adc byte [ebx - 0x6f8afe12], al
salc
push dword [eax - 0x17fc2f64]
dec esi
add dword [eax - 0x77], edi
in eax, 0x42
push ecx
push ebx
jno 0x460b6b
push edi
mov eax, dword [esi - 0x3fee73ff]
xor dword [ebp + edi + 0x23], ebp
push eax
pop ecx
je 0x460b93
mov word [ecx], ss
sal byte [ecx], 0x6c
cmp eax, 0x74595023
mov eax, dword gs:[esi + eax*2]
mov eax, dword [esi + eax*2]
jl 0x460b03
add byte [esi - 0x7d], bl
cmp byte [eax], al
jne 0x460ba2
pop ecx
mov eax, dword [esi + 0xc008f2]
jnp 0x460b23
add byte [ebx], dl
push eax
push eax
call 0x3e0706a5
mov dh, 0x11
add ebp, eax
sub ecx, dword fs:[ebx]
sub ecx, dword [ebx]
sar dword [ebx + ecx*4 - 0x7a], 1
inc edx
or dl, byte [edi]
add dh, byte [edi]
add eax, 0x90070217
nop
dec ebp
pop ecx
pop ecx
push dword [esi + 0x7c]
je 0x460b51
and al, byte [edi + 1]
pop ss
add dword [edi], edx
mov al, byte [0xe2036100]
or al, 0xc0
test byte [ebp + eax*2 + 0x61], dh
add eax, dword [eax - 0x75]
xchg byte [eax + 0x2d4400e0], dl
invalid
push eax
call 0x168edc3
cwde
aam 0
aam 0xd0
add bh, bh
mov dh, 0x99
add dword [eax + ebp*8], eax
leave
mov al, byte [0xff193000]
mov dh, 0xf2
or eax, 0x4a819702
push 6
pop eax
lea ebx, [esi + 0x9043a0]
xor dword [ebp + 0x7e], esp
sub byte [ecx + 0x1d12437f], al
or cl, byte [ebx - 0x1eebbfef]
push es
movmskps ebp, xmm0
xchg ecx, eax
xor dword [ecx], esp
add al, 0x33
call 0xc0466c62
or byte [ebp - 4], al
test byte [ebx + 0x1613807f], al
mov eax, dword [edi - 4]
sar dword [ecx + 0x61], 1
xor dword [edx], eax
pop es
push eax
call 0xb147cd5d
add ebx, eax
xor byte [ebx + eax*4], al
invalid
Function at 0x1000c280
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x10035ad0
call fcn.1003265b
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.1000c224
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], eax
je 0x1000c2b8
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
push dword [ebp - 0x14]
call fcn.10011003
jmp 0x1000c2f3
push eax
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x400
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
push 0x1100
call dword [sym.imp.kernel32.dll_FormatMessageW]
test eax, eax
je 0x1000c2f3
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
push dword [ebp - 0x10]
call fcn.10011003
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
call fcn.10032709
ret 4

Function at 0x1000c3bc
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100361b7
call fcn.1003265b
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1000be03
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.10011003
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x1000c40f
mov esi, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10028460
lea ecx, [ebp - 0x28]
call fcn.1000c137
mov eax, esi
call fcn.10032709
ret 4
push 0xc
pop esi
jmp 0x1000c3f5
Function at 0x1000f0c8
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x10034c4f
call fcn.1003265b
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100283fd
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov esi, 0x100079e4
mov eax, esi
mov byte [ebp - 4], 1
call fcn.10028199
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov eax, esi
call fcn.10011003
mov eax, dword [esi]
mov edx, dword [eax - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, 0x208
sub edx, eax
or ecx, edx
jge 0x1000f123
mov ecx, esi
call fcn.1002827a
push dword [esi]
xor ebx, ebx
push ebx
push 0x10006518
push edi
call fcn.10011003
test eax, eax
jne 0x1000f141
lea eax, [edi - 0x10]
call fcn.10028460
jmp 0x1000f15f
or eax, 0xffffffff
call fcn.1001f1a2
push dword [esi]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
lea eax, [edi - 0x10]
je 0x1000f13a
call fcn.10028460
mov bl, 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10028460
mov al, bl
call fcn.10032709
ret 8

Function at 0x1000fcc3
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x10033ff0
call fcn.10032693
mov esi, ecx
push 0x7f02
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
push ebx
push ebx
push esi
push 0x1000fd72
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x1000fd19
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [esi + 8], bl
jne 0x1000fd5c
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
sub eax, 0x10
call fcn.100283fd
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
push 1
push ebx
push ebx
push edi
push 0x100044dc
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 8]
lea eax, [edi - 0x10]
call fcn.10028460
jmp 0x1000fd5c
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, ebx
call fcn.10032709
ret

Function at 0x10011280
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp dword [esi + 0x14], eax
jne 0x100112a5
push eax
push eax
push esi
push 0x1001122b
push eax
push eax
mov dword [esi + 0x14], 1
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 4], eax
mov byte [esi + 0x30], 1
ret
Function at 0x10011510
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100365f6
call fcn.1003265b
mov ebx, ecx
push 0x100079e4
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.1000be03
lea ecx, [ebp - 0x14]
push ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.10011003
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.1000c137
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x100115b0
push edi
push 0x100046ec
call fcn.10011003
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [ebx + 0x48]
push dword [ebx + 0x38]
push eax
call fcn.10011003
add esp, 0x10
push edi
push dword [ebp - 0x10]
call fcn.10011003
push ebx
call fcn.10011003
push dword [ebp - 0x10]
push 4
jmp 0x100115fd
cmp dword [ebx + 0x40], edi
jne 0x10011617
push edi
push 0x100046ec
call fcn.10011003
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
push dword [ebx + 0x48]
lea eax, [ebp - 0x10]
push dword [ebx + 0x34]
push eax
call fcn.10011003
add esp, 0xc
push edi
push dword [ebp - 0x10]
call fcn.10011003
push ebx
call fcn.10011003
push dword [ebp - 0x10]
push 1
mov ebx, dword [ebx + 0x50]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
jmp 0x100116c6
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
mov edi, 0x1000474c
call fcn.1001e8e8
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
push 7
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
or dword [ebp - 0x18], 0xffffffff
call dword [eax + 0x28]
xor edi, edi
cmp dword [ebx + 0x40], edi
jle 0x100116a5
test edi, edi
js 0x100116e0
cmp edi, dword [ebx + 0x40]
jge 0x100116e0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx]
lea eax, [eax + edi*4]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [edx]
push 0
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call fcn.10011003
push 0
push 0x100046ec
call fcn.10011003
mov ecx, dword [ebx + 0x50]
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
inc edi
cmp edi, dword [ebx + 0x40]
jl 0x10011645
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
push 1
push dword [ebp - 0x18]
push 0
push ebx
call fcn.10011003
xor edi, edi
push edi
push esi
xor eax, eax
call fcn.10011003
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
call fcn.10032709
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]
Function at 0x1001795b
Capabilities:
Enumerate gui resources

Disassembly:
push 0x2c
mov eax, 0x100363e6
call fcn.1003265b
lea eax, [ebp - 0x10]
push eax
mov edi, 0x100051b4
call fcn.1001e8e8
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x10005210
call fcn.1001e8e8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push 0x100051c8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
mov edi, ebx
call fcn.10011003
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 0x10017c3f
mov dword [ebp - 0x2c], esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10011003
push ebx
push dword [ebp + 8]
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10017ac7
cmp dword [ebx + 4], 0
mov eax, dword [esi]
mov ecx, esi
jne 0x10017a2a
push 0x10005220
push 2
call dword [eax + 4]
lea edi, [ebp - 0x28]
call fcn.10011003
lea edi, [ebp - 0x38]
call fcn.10011003
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0
call fcn.1000b8ef
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
xor eax, eax
call fcn.10032709
ret 4
push 0x1000524c
push 2
call dword [eax + 4]
test byte [0x10043040], 1
jne 0x10017a66
or dword [0x10043040], 1
push 0x1004303c
mov edi, 0x10005148
mov byte [ebp - 4], 5
call fcn.1001e8e8
push 0x10037e3f
call fcn.10011003
pop ecx
mov byte [ebp - 4], 4
push dword [0x1004303c]
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
jle 0x100179f8
and dword [ebp + 8], edi
test edi, edi
js 0x10017ab0
cmp edi, eax
jge 0x10017ab0
mov eax, dword [ebx]
add eax, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [eax + 0x10]
push eax
push 2
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebx + 4]
add dword [ebp + 8], 0x14
inc edi
cmp edi, eax
jl 0x10017a85
jmp 0x100179f8
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]
Function at 0x10017c58
Capabilities:
Get graphical window text

Disassembly:
push 0x20
mov eax, 0x1003638e
call fcn.1003265b
mov edi, ecx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 0x14]
je 0x10017d9f
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
mov eax, dword [ebx - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [ebx - 4]
mov esi, 0x200
sub eax, esi
or eax, ecx
jge 0x10017cbe
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.1002827a
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 8], esi
jge 0x10017ccd
push 0x80070057
call fcn.10011003
mov dword [ebx - 0xc], esi
xor eax, eax
mov word [ebx + 0x400], ax
cmp dword [ebx - 4], 1
mov esi, dword [ebx - 8]
jle 0x10017cf1
push dword [ebx - 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.10011003
mov ebx, dword [ebp - 0x10]
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1001f1a2
push dword [edi + 0xc]
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
call fcn.10011003
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
mov byte [ebp + 8], al
push dword [ebp + 8]
mov eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.100178d5
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp eax, ecx
jle 0x10017d79
mov edx, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0
jl 0x10017de8
cmp dword [ebp + 8], eax
jge 0x10017de8
mov esi, dword [edi]
cmp edx, dword [ecx + esi]
je 0x10017daa
inc dword [ebp + 8]
add ecx, 0x14
cmp dword [ebp + 8], eax
jl 0x10017d54
lea eax, [ebp - 0x2c]
push eax
mov esi, edi
call fcn.10020fbc
lea esi, [ebp - 0x2c]
call fcn.10017dff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebx - 0x10]
call fcn.10028460
xor eax, eax
inc eax
call fcn.10032709
ret 4
mov esi, dword [ebp + 8]
cmp esi, eax
jge 0x10017de8
imul esi, esi, 0x14
add esi, dword [edi]
mov eax, dword [esi]
sub eax, edx
jne 0x10017dda
cmp byte [esi + 0xc], al
setne al
xor ecx, ecx
cmp byte [ebp - 0x20], cl
setne cl
sub eax, ecx
jne 0x10017dda
push dword [ebp - 0x24]
add esi, 8
push esi
call fcn.10011003
test eax, eax
jns 0x10017d84
push dword [ebp + 8]
call fcn.10011003
jmp 0x10017d79
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]
Function at 0x100193be
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x1003674e
call fcn.1003265b
mov edi, ecx
mov eax, dword [0x1003fe10]
xor ebx, ebx
mov ecx, 0x1003fe10
mov byte [ebp - 0xd], bl
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x12c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push eax
lea ebx, [ebp - 0x28]
call fcn.1001795b
xor esi, esi
cmp eax, esi
jl 0x100194f6
cmp dword [ebp - 0x24], esi
jle 0x100194f6
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
add ebx, 8
mov eax, dword [ebp - 0x14]
cmp eax, esi
jl 0x100194e7
cmp eax, dword [ebp - 0x24]
jge 0x100194e7
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
je 0x10019483
cmp byte [ebx + 4], 0
je 0x10019483
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1001f42a
push dword [ebx]
jmp 0x100194b8
mov eax, dword [ebx - 4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1001f42a
push dword [ebx - 4]
push 0x100054b0
lea ecx, [ebp - 0x18]
call fcn.10011003
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
pop ecx
add ebx, 0x14
xor esi, esi
pop ecx
cmp eax, dword [ebp - 0x24]
jl 0x1001942f
mov eax, dword [edi + 0x134]
mov byte [ebp - 0xd], 1
jmp 0x100194fc
push esi
push esi
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]
mov eax, dword [edi + 0x130]
push eax
push 1
push 0x172
push 0x6f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0x18]
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 0xd], 0
je 0x10019536
push 1
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
jmp 0x10019544
push esi
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xd], 0
je 0x1001955a
xor al, al
jmp 0x10019560
mov al, byte [edi + 0x128]
mov byte [edi + 0x128], al
lea edi, [ebp - 0x28]
call fcn.10011003
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
call fcn.10032709
ret
Function at 0x10019584
Capabilities:
Hide graphical window

Disassembly:
push 0x2c
mov eax, 0x10035e70
call fcn.1003265b
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
mov byte [ebp - 0xd], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x12c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov dword [ebp - 0x18], eax
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10017f0a
cmp eax, ebx
jl 0x10019701
cmp dword [ebp - 0x34], ebx
jle 0x10019701
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov ebx, 0x100054b0
mov eax, dword [ebp - 0x18]
test eax, eax
js 0x100196f0
cmp eax, dword [ebp - 0x34]
jge 0x100196f0
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x20]
call fcn.10011003
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x20]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.10028460
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x2c], esp
mov esi, esp
je 0x10019683
call fcn.10011003
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
push 4
call dword [eax + 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1001f42a
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x24]
call fcn.10011003
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x1c]
push ebx
call fcn.10011003
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
jmp 0x100196c5
call fcn.10011003
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
push 4
call dword [eax + 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1001f42a
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
call fcn.10011003
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x1c]
push ebx
call fcn.10011003
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.10028460
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], 8
cmp eax, dword [ebp - 0x34]
jl 0x100195fc
mov eax, dword [edi + 0x134]
xor ebx, ebx
mov byte [ebp - 0xd], 1
jmp 0x10019707
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]
mov eax, dword [edi + 0x130]
push eax
push 1
push 0x172
push 0x70
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0x1c]
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 0xd], 0
je 0x10019741
push 1
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
jmp 0x1001974f
push ebx
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xd], 0
je 0x10019765
xor al, al
jmp 0x1001976b
mov al, byte [edi + 0x128]
lea esi, [ebp - 0x38]
mov byte [edi + 0x128], al
call fcn.10026931
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
call fcn.10032709
ret
Function at 0x1001f6de
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x100336e1
call fcn.100326ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 0x12c], esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
lea ecx, [esi + 0x20]
push eax
push ecx
mov dword [ebp - 4], eax
call fcn.1002af90
xor eax, eax
and dword [esi + 0x78], eax
push 0x110
lea edi, [esi + 0x27c]
lea ebx, [esi + 0x7c]
push eax
mov word [edi], ax
mov word [ebx], ax
lea eax, [ebp - 0x120]
push eax
mov dword [esi + 0x20], 0x58
call fcn.1002af90
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x1001f77f
cmp dword [ebp - 0x120], 5
jae 0x1001f786
cmp dword [ebp - 0x120], 4
jne 0x1001f77f
cmp dword [ebp - 0x11c], 0x5a
jae 0x1001f786
mov dword [esi + 0x20], 0x4c
cmp dword [ebp - 0x128], 0
mov ecx, dword [ebp + 0xc]
mov eax, 0x104
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x5c], 0x10006320
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880426
mov ecx, dword [0x10042f94]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x64], 0x10025da0
mov dword [esi + 0x24], ecx
je 0x1001f7e5
push 0xffffffffffffffff
push dword [ebp - 0x128]
push eax
push edi
call fcn.10011003
add esp, 0x10
call fcn.10027e20
mov eax, esi
call fcn.10032722
ret 0xc
Function at 0x100210eb
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x10035d33
call fcn.100326ce
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.1002af90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
push esi
lea edi, [ebp - 0x218]
call fcn.1001e8e8
and dword [ebp - 4], 0
mov eax, esi
mov dword [ebp - 0x21c], 1
call fcn.10023917
mov eax, esi
call fcn.10032722
ret

Function at 0x10021169
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x1003470b
call fcn.1003265b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov edi, 0x10003f64
call fcn.1001e8e8
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov esi, 0x104
sub edx, esi
or ecx, edx
jge 0x100211af
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.1002827a
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1001f1a2
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
call fcn.1001e8e8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp + 8]
call fcn.10032709
ret 4

Function at 0x10021dcd
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x10035cb0
call fcn.1003265b
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.1000be03
and dword [ebp - 4], 0
push 0
add eax, 4
push eax
mov ecx, 0x10003550
call fcn.1000b9a7
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.1000c137
mov al, bl
call fcn.10032709
ret

Function at 0x10021e15
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x10035cb0
call fcn.1003265b
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.1000be03
and dword [ebp - 4], 0
push 0
add eax, 4
push eax
mov ecx, 0x10003560
call fcn.1000b9a7
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.1000c137
mov al, bl
call fcn.10032709
ret