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

Disassembly:
push 0xffffffffffffffff
push 0x1003f6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071350]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x7c]
xor edx, edx
cmp eax, edx
jl 0x10009a00
cmp eax, dword [ebx + 0xdc]
jge 0x10009a00
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x80]
cmp ecx, edx
jl 0x10009a00
cmp ecx, dword [eax + 0x1c]
jge 0x10009a00
mov eax, dword [eax + 0x18]
mov esi, dword [eax + ecx*4]
mov edi, dword [esp + 0x78]
xor ebp, ebp
cmp dword [esi + 4], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov dword [edi], edx
mov dword [edi + 4], edx
jl 0x10009873
cmp dword [esp + 0x84], 2
je 0x10009873
mov ecx, ebx
call fcn.10008d50
mov edx, dword [esp + 0x7c]
movzx ecx, al
push ecx
push edx
mov ecx, ebx
call fcn.100091c0
test eax, eax
je 0x1000986f
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.1001dd7e
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.10009460
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x20]
cmp dword [esi + 8], ebp
je 0x1000995d
cmp dword [esp + 0x84], 1
je 0x1000995d
push ebx
lea ecx, [esp + 0x38]
call fcn.1001ebae
push 0x11
mov dword [esp + 0x74], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call fcn.1001ed45
push eax
lea ecx, [esp + 0x38]
call fcn.1001ee44
mov ecx, ebx
mov dword [esp + 0x7c], eax
call fcn.10008d50
test al, al
je 0x100098ec
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [esi + 8]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
jmp 0x10009936
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.10009160
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x28]
push eax
mov dword [esp + 0x34], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [esi + 8]
mov edx, dword [esp + 0x38]
push 0x411
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov ebp, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x38]
call fcn.1001ee44
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], 0xffffffff
call fcn.1001ec02
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.10008d50
test al, al
mov eax, dword [esp + 0x84]
je 0x100099ac
cmp eax, 1
jne 0x10009983
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], ecx
mov dword [edi + 4], edx
jmp 0x100099e8
cmp eax, 2
jne 0x1000998d
mov dword [edi + 4], edx
jmp 0x100099e6
cmp eax, 3
jne 0x100099e8
mov eax, dword [esp + 0x18]
cmp eax, edx
jle 0x1000999c
mov edx, eax
mov eax, dword [ebx + 0x78]
add eax, ebp
add eax, dword [esp + 0x14]
mov dword [edi + 4], edx
mov dword [edi], eax
jmp 0x100099e8
cmp eax, 1
jne 0x100099c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x100099e8
cmp eax, 2
je 0x10009988
cmp eax, 3
jne 0x100099e8
mov eax, dword [esp + 0x14]
cmp eax, ebp
jle 0x100099d4
mov ebp, eax
mov eax, dword [ebx + 0x84]
add eax, dword [ebx + 0x7c]
add eax, edx
add eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi], ebp
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10
call fcn.1001e393
int3