Function at 0x1000288e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x118], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0xa0], eax
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x134], ecx
mov byte [edi + 0x118], 0
cmp esi, eax
jae 0x10003364
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x8c], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x90], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x138], eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x64], eax
mov eax, dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov dword [ebp - 0x88], eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0xb4], eax
mov eax, dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0xb8], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xbc], eax
mov eax, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0xc0], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x94], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0x98], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x9c], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x128], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x12c], eax
mov eax, dword [sym.imp.USER32.dll_GetClassLongA]
mov dword [ebp - 0x13c], eax
mov eax, dword [sym.imp.USER32.dll_SetClassLongA]
mov dword [ebp - 0x120], eax
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x10c], eax
mov eax, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov dword [ebp - 0x110], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [ebp - 0x114], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [ebp - 0xc4], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebp - 0x84], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x80], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov dword [ebp - 0xc8], eax
mov al, byte [esi]
inc esi
push 0x7c
push esi
mov byte [ebp - 0x45], al
mov dword [ebp - 0x44], esi
call fcn.1002b1c0
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100029fa
mov byte [eax], cl
inc eax
mov dword [ebp - 0x40], eax
movzx eax, byte [ebp - 0x45]
cmp eax, 0x4d
ja 0x10002f72
je 0x10002bcd
cmp eax, 0x43
ja 0x10002b4c
je 0x10002b35
sub eax, 0x25
je 0x10002afe
sub eax, 0xb
je 0x10002aef
sub eax, 1
je 0x10002a75
sub eax, 0x11
jne 0x1000334c
push esi
call fcn.1003802c
pop ecx
mov ecx, dword [edi + 0x24]
mov esi, eax
test ecx, ecx
je 0x10002a51
call fcn.100063ed
push 0
push 0
lea eax, [edi + 0x2c]
mov edx, esi
push eax
lea eax, [edi + 0x28]
mov ecx, ebx
push eax
call fcn.10006477
add esp, 0x10
mov dword [edi + 0x24], eax
mov byte [edi + 0x30], 0
jmp 0x1000334c
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xfc]
push eax
push str._d__d__d__d__d
push esi
call fcn.1000102f
add esp, 0x1c
cmp dword [edi + 0x44], 0
je 0x10002aa9
push dword [edi + 0x44]
call dword [ebp - 0x64]
movzx eax, byte [ebp - 0xfc]
movzx ecx, byte [ebp - 0x54]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x130]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], ecx
mov dword [edi + 0x40], ecx
call dword [ebp - 0x88]
mov dword [edi + 0x44], eax
mov byte [edi + 0x48], 1
jmp 0x1000334c
push esi
call fcn.1003802c
pop ecx
mov dword [edi + 8], eax
jmp 0x1000334c
push 6
push str.PROD_
push esi
call fcn.1002b959
add esp, 0xc
test eax, eax
jne 0x1000334c
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x10002b23
mov byte [eax], 1
push 0x10088f40
push dword [edi]
call dword [ebp - 0x138]
jmp 0x1000334c
push ecx
push str.Error
push str.C_Command_Used
push ecx
call dword [ebp - 0xb4]
jmp 0x1000334c
sub eax, 0x44
je 0x10002bbe
sub eax, 3
je 0x10002baf
sub eax, 1
je 0x10002b94
sub eax, 1
jne 0x1000334c
push esi
call fcn.1003802c
pop ecx
movzx eax, ax
push eax
push ebx
call dword [ebp - 0xb8]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi]
call dword [ebp - 0xbc]
push esi
call dword [ebp - 0xc0]
jmp 0x1000334c
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x10]
push eax
push str._d__d
push esi
call fcn.1000102f
add esp, 0x10
jmp 0x1000334c
push esi
call fcn.1003802c
pop ecx
mov dword [edi + 0x18], eax
jmp 0x1000334c
lea edx, [edi + 0x4c]
mov ecx, esi
call fcn.100026a8
jmp 0x1000334c
mov eax, dword [0x10089444]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x78], ecx
cmp eax, ebx
jne 0x10002c37
mov ebx, dword [0x10089448]
cmp eax, ebx
jne 0x10002c34
push str.K7CmnRes.dll
call dword [ebp - 0x8c]
mov ebx, eax
test ebx, ebx
jne 0x10002c34
push str.K7CmnRes.dll
call dword [ebp - 0x90]
mov ebx, eax
mov dword [edi + 4], ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
push str._d__d__d__d__d__d__d__d__d__d__d__d_
push esi
call fcn.1000102f
push 0x2c
push esi
call fcn.1002d950
add esp, 0x40
test eax, eax
je 0x10002c90
inc eax
jmp 0x10002c95
mov eax, str.Arial
push eax
lea eax, [edi + 0x118]
push eax
call fcn.100452c0
pop ecx
pop ecx
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x10002cb3
call fcn.100063ed
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x10002cc2
call fcn.100063ed
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x10002cd1
call fcn.100063ed
mov ecx, dword [edi + 0xf4]
test ecx, ecx
je 0x10002ce0
call fcn.100063ed
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10002cf1
push eax
call dword [ebp - 0xc4]
mov eax, dword [ebp - 0x6c]
mov ecx, ebx
mov dword [edi + 0xb0], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
mov dword [edi + 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0xb0]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x7c]
push 0
mov dword [edi + 0x74], eax
lea eax, [edi + 0xd4]
push 0
push eax
lea eax, [edi + 0xc0]
mov dword [edi + 0xac], edx
push eax
call fcn.10006477
mov edx, dword [edi + 0xb0]
mov ecx, ebx
push 0
mov dword [edi + 0xe8], eax
lea eax, [edi + 0xd8]
push 0
push eax
lea eax, [edi + 0xc4]
push eax
call fcn.10006477
mov edx, dword [edi + 0xb4]
mov ecx, ebx
push 0
mov dword [edi + 0xec], eax
lea eax, [edi + 0xdc]
push 0
push eax
lea eax, [edi + 0xc8]
push eax
call fcn.10006477
mov edx, dword [edi + 0xb8]
mov ecx, ebx
push 0
mov dword [edi + 0xf0], eax
lea eax, [edi + 0xe0]
push 0
push eax
lea eax, [edi + 0xcc]
push eax
call fcn.10006477
mov edx, dword [ebp - 0x60]
lea esi, [edi + 0x100]
add esp, 0x40
mov dword [edi + 0xf4], eax
lea eax, [edi + 0x104]
mov ecx, ebx
lea edx, [edx + 4]
push 0
push 1
push eax
push esi
call fcn.10006477
add esp, 0x10
mov dword [edi + 0xfc], eax
cmp dword [0x1008944c], 6
jb 0x10002e1f
test eax, eax
je 0x10002e1f
or dword [esi], 0x2000000
jmp 0x10002e48
mov edx, dword [ebp - 0x60]
lea eax, [edi + 0x104]
push 0
push 0
push eax
push esi
mov ecx, ebx
call fcn.10006477
add esp, 0x10
mov dword [edi + 0xfc], eax
test eax, eax
je 0x10002e48
or dword [esi], 0x1000000
and dword [edi + 0x108], 0
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
push 0
push 1
push eax
lea eax, [ebp - 0x50]
push eax
lea edx, [edx + 1]
call fcn.10006477
add esp, 0x10
mov esi, eax
cmp dword [0x1008944c], 6
jb 0x10002f09
test esi, esi
je 0x10002f09
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
push 0
push 9
push 0x20
push ecx
push edx
mov dword [edi + 0xd0], edx
mov dword [edi + 0xe4], ecx
call dword [ebp - 0x84]
mov dword [edi + 0xf8], eax
test eax, eax
je 0x10002eb3
push esi
push 0xffffffffffffffff
push eax
call dword [ebp - 0x80]
mov ecx, esi
call fcn.100063ed
mov eax, dword [ebp - 0x4c]
lea esi, [eax + 2]
jmp 0x10002f00
push 0
push 1
lea eax, [ebp - 0x44]
mov edx, esi
push eax
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.10006477
add esp, 0x10
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10002efc
mov ecx, dword [edi + 0xf8]
test ecx, ecx
je 0x10002ef5
push eax
push 0xffffffffffffffff
push ecx
call dword [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov ecx, eax
call fcn.100063ed
mov eax, dword [ebp - 0x4c]
inc esi
add eax, 0xf
cmp esi, eax
jbe 0x10002ec2
jmp 0x10002f69
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push 0
push 0
push eax
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.10006477
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10002f69
mov eax, dword [ebp - 0x50]
push 0xf
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0x44]
push 0
push 9
push 0x21
push ecx
push eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xe4], ecx
call dword [ebp - 0x84]
mov dword [edi + 0xf8], eax
test eax, eax
je 0x10002f62
push 0
push esi
push eax
call dword [ebp - 0xc8]
mov ecx, esi
call fcn.100063ed
mov byte [edi + 0x60], 2
jmp 0x1000334c
cmp eax, 0x53
ja 0x1000322a
je 0x100031c9
sub eax, 0x4f
je 0x10003191
sub eax, 1
je 0x10003133
sub eax, 1
je 0x1000301f
sub eax, 1
jne 0x1000334c
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xcc]
push eax
push str._d__d__d__d__d
push esi
call fcn.1000102f
add esp, 0x1c
cmp dword [edi + 0x38], 0
je 0x10002fd9
push dword [edi + 0x38]
call dword [ebp - 0x64]
movzx eax, byte [ebp - 0xcc]
movzx ecx, byte [ebp - 0x54]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xd0]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x34], ecx
call dword [ebp - 0x88]
mov dword [edi + 0x38], eax
mov byte [edi + 0x3c], 1
jmp 0x1000334c
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xd4]
push eax
push str._d__d__d__d__d__d__d__d__d__d__d__d
push esi
call fcn.1000102f
mov ecx, dword [edi + 0x88]
add esp, 0x38
test ecx, ecx
je 0x10003090
call fcn.100063ed
mov edx, dword [ebp - 0xd4]
lea eax, [edi + 0x8c]
push 0
push 0
push eax
lea eax, [edi + 0x90]
mov ecx, ebx
push eax
call fcn.10006477
mov dword [edi + 0x88], eax
add esp, 0x10
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 0xa0], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 0xa4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0xf8]
mov dword [edi + 0x98], eax
mov eax, dword [ebp - 0x11c]
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x100]
mov dword [edi + 0x78], eax
mov byte [edi + 0x60], 1
jmp 0x1000334c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push str._d__d__d__d__d
push esi
call fcn.1000102f
movzx ecx, byte [ebp - 0x54]
add esp, 0x1c
movzx eax, byte [ebp - 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x5c]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x108]
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x84], eax
jmp 0x1000334c
lea eax, [ebp - 0x3c]
push eax
push dword [edi]
call dword [ebp - 0x10c]
push 0x12
push 0x12
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [ebp - 0x110]
push 1
mov esi, eax
push esi
push dword [edi]
call dword [ebp - 0x114]
push esi
call dword [ebp - 0x64]
jmp 0x1000334c
mov eax, dword [0x10089444]
cmp eax, ebx
jne 0x100031fa
mov ebx, dword [0x10089448]
cmp eax, ebx
jne 0x100031f7
mov esi, str.K7CmnRes.dll
push esi
call dword [ebp - 0x8c]
mov ebx, eax
test ebx, ebx
jne 0x100031f7
push esi
call dword [ebp - 0x90]
mov ebx, eax
mov dword [edi + 4], ebx
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xa0]
mov ecx, ebx
push esi
push eax
lea edx, [ebp - 0x44]
call fcn.1000278c
add esp, 0xc
cmp eax, 1
jne 0x1000334f
mov esi, dword [ebp - 0x44]
jmp 0x10003358
cmp eax, 0x54
je 0x10003348
cmp eax, 0x5a
je 0x100032a8
cmp eax, 0x62
je 0x1000326f
cmp eax, 0x7a
jne 0x1000334c
push 0xffffffffffffffe6
push dword [edi]
call dword [ebp - 0x13c]
mov ecx, 0x20000
test ecx, eax
jne 0x1000334c
or eax, ecx
push eax
push 0xffffffffffffffe6
push dword [edi]
call dword [ebp - 0x120]
jmp 0x1000334c
push esi
call fcn.1003802c
pop ecx
mov ecx, dword [edi + 0x24]
mov esi, eax
test ecx, ecx
je 0x10003284
call fcn.100063ed
push 0
push 0
lea eax, [edi + 0x2c]
mov edx, esi
push eax
lea eax, [edi + 0x28]
mov ecx, ebx
push eax
call fcn.10006477
add esp, 0x10
mov dword [edi + 0x24], eax
mov byte [edi + 0x30], 1
jmp 0x1000334c
push 0xfffffffffffffff0
push dword [edi]
call dword [ebp - 0x94]
mov esi, eax
test esi, 0xc00000
je 0x1000334c
and esi, 0xff3fffff
cmp dword [0x10088f2c], 0
je 0x100032ef
push 0xffffffffffffffec
push dword [edi]
and esi, 0xfff8ffff
call dword [ebp - 0x94]
and eax, 0xfffffbff
push eax
push 0xffffffffffffffec
push dword [edi]
call dword [ebp - 0x98]
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [ebp - 0x98]
test esi, 0x40000
je 0x10003311
call dword [ebp - 0x124]
cmp al, 6
jae 0x10003311
push 0xf
pop eax
jmp 0x10003319
push 4
call dword [ebp - 0x9c]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
call dword [ebp - 0x128]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 2
sub eax, esi
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [edi]
call dword [ebp - 0x12c]
jmp 0x1000334c
mov byte [edi + 0x20], 1
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x10003364
cmp byte [esi], 0
je 0x10003364
cmp esi, dword [ebp - 0xa0]
jb 0x100029d8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10029e88
leave
ret