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

Disassembly:
push 0xffffffffffffffff
push 0x101f6504
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf8]
mov ebp, dword [esp + 0xfc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], ecx
xor ebx, ebx
mov dword [esp + 0xf0], ebx
mov eax, dword [eax + 0xbc]
cmp eax, ebx
jne 0x100df4da
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
call fcn.100deb00
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0xf0], 1
cmp byte [esp + 0x100], 0
mov dword [esp + 0x2c], 0x8824
je 0x100df50b
mov dword [esp + 0x2c], 0x8828
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0xf0], 2
mov eax, dword [esp + 0x30]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea esi, [esp + 0x40]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0x10c], 3
mov eax, dword [esp + 0x34]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x8c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0x128], 4
mov byte [esp + 0x128], 2
mov ecx, esi
call fcn.100df2d0
add esp, 0x38
cmp eax, ebx
jne 0x100df607
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 8
mov ecx, dword [eax + 0x14]
jb 0x100df5a4
mov eax, dword [eax + 4]
jmp 0x100df5a7
add eax, 4
mov edx, dword [esp + 0x2c]
push edx
push ebp
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [esp + 0xf0], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100df5cf
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0xf0], 0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100dfad4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x100dfad4
mov dword [esp + 0x38], ebx
jmp 0x100dfad4
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
mov byte [esp + 0xf0], 5
xor esi, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], esi
lea ebx, [esi + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100dfa4e
mov edx, dword [esp + 0x24]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x100df9a0
xor ecx, ecx
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ecx
mov word [esp + 0xb0], cx
mov byte [esp + 0xf0], 6
cmp esi, ecx
mov eax, dword [esp + 0x20]
jne 0x100df711
cmp eax, ecx
je 0x100df6a0
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
jne 0x100df6aa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x78]
push eax
push ecx
xor ecx, ecx
call fcn.1000f690
mov byte [esp + 0xf0], 7
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xd0]
call fcn.10007880
mov byte [esp + 0xf0], 6
cmp dword [esp + 0x8c], ebx
jb 0x100df6f5
mov edx, dword [esp + 0x78]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
jmp 0x100df7cb
add esi, 0xffffffff
cmp eax, ecx
je 0x100df727
mov edx, dword [esp + 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x100df735
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
mov esi, dword [eax + esi*4]
add esi, ecx
test eax, eax
je 0x100df750
sub edx, eax
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x100df75a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x18]
sub eax, esi
push eax
lea ecx, [esp + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.1000f690
mov byte [esp + 0xf0], bl
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xd0]
call fcn.10007880
mov byte [esp + 0xf0], 6
cmp dword [esp + 0xa8], ebx
jb 0x100df7b1
mov eax, dword [esp + 0x94]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], si
mov eax, dword [esp + 0x20]
test eax, eax
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x14]
je 0x100df7e9
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x100df7f3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push esi
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + edx*4]
call fcn.1000f690
mov byte [esp + 0xf0], 9
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xb4]
call fcn.10007880
mov byte [esp + 0xf0], 6
cmp dword [esp + 0x70], ebx
jb 0x100df83e
mov eax, dword [esp + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xe0], ebx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], si
jae 0x100df866
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xdc]
mov esi, dword [sym.imp.USER32.dll_DrawTextW]
push ecx
push ebp
push edx
push eax
push edi
call esi
cmp dword [esp + 0xe0], ebx
mov eax, dword [esp + 0xcc]
jae 0x100df895
lea eax, [esp + 0xcc]
mov edx, dword [esp + 0xdc]
push 0xc00
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
push ecx
add dword [ebp], eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0xc4], ebx
mov esi, eax
mov eax, dword [esp + 0xb0]
jae 0x100df8e9
lea eax, [esp + 0xb0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc0]
push ecx
push ebp
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0xc4], ebx
mov eax, dword [esp + 0xb0]
jae 0x100df91e
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0xc0]
push 0xc00
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0xbc]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
add dword [ebp], ecx
mov byte [esp + 0xf0], 5
cmp dword [esp + 0xc4], ebx
jb 0x100df976
mov edx, dword [esp + 0xb0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], eax
mov word [esp + 0xb0], ax
jmp 0x100df642
sub edx, ecx
sar edx, 2
je 0x100dfa4e
lea esi, [edx - 1]
cmp esi, edx
jb 0x100df9bc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [ecx + esi*4]
push 0xffffffffffffffff
lea edx, [esp + 0xb0]
add ecx, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.1000f690
mov byte [esp + 0xf0], 0xa
cmp dword [esp + 0xc4], ebx
mov eax, dword [esp + 0xb0]
jae 0x100df9fb
lea eax, [esp + 0xb0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc0]
push ecx
push ebp
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [esp + 0xf0], 5
cmp dword [esp + 0xc4], ebx
jb 0x100dfa32
mov eax, dword [esp + 0xb0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], eax
mov word [esp + 0xb0], ax
mov byte [esp + 0xf0], 2
cmp dword [esp + 0xe0], ebx
jb 0x100dfa6f
mov ecx, dword [esp + 0xcc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ecx
mov word [esp + 0xcc], cx
mov byte [esp + 0xf0], 1
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x100dfaa4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov byte [esp + 0xf0], cl
mov eax, dword [esp + 0x34]
cmp eax, ecx
je 0x100dfad4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x100dfad4
mov dword [esp + 0x38], 0
mov dword [esp + 0xf0], 0xffffffff
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101d19cc
add esp, 0xe4
ret 0x10