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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c85d0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov ebx, dword [esi + 0xb20]
cmp ebx, ebp
jne 0x44036f
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
push edi
mov edi, dword [esi + 0x800]
xor eax, eax
cmp edi, ebp
mov dword [esp + 0x10], ebp
jle 0x4403a8
mov edx, dword [esi + 0x7fc]
mov ecx, dword [edx]
mov ebp, dword [esp + 0x10]
cmp ebp, dword [ecx + 0x148]
jg 0x44039e
mov ecx, dword [ecx + 0x148]
mov dword [esp + 0x10], ecx
inc eax
add edx, 4
cmp eax, edi
jl 0x440386
xor ebp, ebp
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], 0x5e2838
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ecx
cmp ebx, edi
mov dword [esp + 0x5c], ebp
jle 0x440490
mov edx, dword [esi + 0xb1c]
mov ebx, dword [edx + edi*4]
lea eax, [edx + edi*4]
mov eax, dword [edx + edi*4 - 4]
mov edx, dword [ebx + 0x1c0]
cmp edx, dword [eax + 0x1c0]
jne 0x440408
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
jmp 0x440478
mov eax, dword [esp + 0x14]
mov edx, 1
cmp eax, edx
jne 0x440441
mov dword [esp + 0x1c], ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], edx
mov ebp, edi
call fcn.0046d900
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [ecx + edx*4], ebx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
jmp 0x440478
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
inc eax
mov dword [esp + 0x18], eax
cmp ebp, edi
mov dword [esp + 0x10], ebx
mov eax, ebp
jge 0x440472
mov ecx, dword [esi + 0xb1c]
inc eax
cmp eax, edi
mov ecx, dword [ecx + eax*4 - 4]
mov dword [ecx + 0x148], ebx
jl 0x440459
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov ebp, edi
mov eax, dword [esi + 0xb20]
inc edi
cmp edi, eax
jl 0x4403db
cmp dword [esp + 0x14], 1
jne 0x4404b4
xor ebp, ebp
mov edx, dword [esi + 0xb1c]
mov ebx, ecx
inc ecx
push 0xffffffffffffffff
mov edi, dword [edx]
push ecx
lea ecx, [esp + 0x28]
call fcn.0046d900
mov eax, dword [esp + 0x24]
mov dword [eax + ebx*4], edi
mov ecx, dword [esp + 0x28]
jmp 0x4404dd
mov edx, dword [esp + 0x18]
inc ebx
inc edx
cmp ebp, edi
mov dword [esp + 0x18], edx
jge 0x4404db
mov ecx, dword [esi + 0xb1c]
inc ebp
cmp ebp, edi
mov edx, dword [ecx + ebp*4 - 4]
mov dword [edx + 0x148], ebx
jl 0x4404c2
mov ecx, dword [esp + 0x28]
xor ebp, ebp
mov eax, dword [esp + 0x18]
add ecx, eax
cmp ecx, 1
jle 0x44065f
lea ecx, [esp + 0x34]
call fcn.004b6ca0
fld qword [esp + 0x64]
fsub qword [0x5e3e08]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x40], edx
fstp qword [esp + 0x34]
fld qword [esp + 0x64]
fadd qword [0x5e7938]
fstp qword [esp + 0x44]
call fcn.004d7b80
fmul qword [0x5e7930]
mov edx, dword [esi + 0xb20]
xor ecx, ecx
cmp edx, ebp
fstp qword [esp + 0x4c]
jle 0x440578
mov edi, dword [esi + 0xb1c]
mov ebx, dword [edi]
fld qword [ebx + 0x78]
fadd qword [0x5e3e08]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x440570
fld qword [ebx + 0x78]
fadd qword [0x5e3e08]
fstp qword [esp + 0x4c]
inc ecx
add edi, 4
cmp ecx, edx
jl 0x44054d
fld qword [esp + 0x4c]
fadd qword [esp + 0x6c]
lea eax, [esi + 0xb18]
lea ecx, [esp + 0x34]
push eax
push ecx
push 1
fstp qword [esp + 0x58]
call fcn.0043f490
fld qword [esp + 0x50]
fadd qword [esp + 0x40]
mov eax, dword [esi + 0xb20]
add esp, 0xc
cmp eax, ebp
fmul qword [0x5e2790]
fsubr qword [esp + 0x64]
fstp qword [esp + 0x64]
fld qword [esp + 0x4c]
fadd qword [esp + 0x3c]
fmul qword [0x5e2790]
fsubr qword [esp + 0x6c]
fstp qword [esp + 0x6c]
jle 0x44061e
mov ebx, dword [esp + 0x68]
mov edx, dword [esi + 0xb1c]
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x68]
mov edi, dword [edx + ebp*4]
mov edx, dword [esp + 0x70]
push edx
push ebx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
push edi
lea ecx, [esi + 0x2e0]
mov dword [edi + 0xd0], 1
mov dword [edi + 0x1c], 0x1ebada
call fcn.004deba0
mov eax, dword [esi + 0xb20]
inc ebp
cmp ebp, eax
jl 0x4405d4
xor ebp, ebp
mov ecx, esi
call fcn.0043f300
cmp dword [0x619d18], ebp
je 0x440651
cmp dword [esi + 0x178], ebp
je 0x440641
push 0xc8
push 0x226
jmp 0x44064b
push 0x12c
push 0x1f4
call dword [sym.imp.user32.dll_SetCursorPos]
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x34]
jmp 0x440763
lea ecx, [esp + 0x34]
call fcn.004b6ca0
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.004b6ff0
mov eax, dword [esi + 0xb20]
xor edi, edi
cmp eax, ebp
jle 0x4406a5
mov edx, dword [esi + 0xb1c]
mov ecx, dword [edx + edi*4]
call fcn.0050b020
push eax
lea ecx, [esp + 0x38]
call fcn.004b6dd0
mov eax, dword [esi + 0xb20]
inc edi
cmp edi, eax
jl 0x440682
fld qword [esp + 0x44]
fadd qword [esp + 0x34]
cmp dword [esi + 0xb20], ebp
fmul qword [0x5e2790]
fsubr qword [esp + 0x64]
fstp qword [esp + 0x64]
fld qword [esp + 0x4c]
fadd qword [esp + 0x3c]
fmul qword [0x5e2790]
fsubr qword [esp + 0x6c]
fstp qword [esp + 0x6c]
jle 0x440727
mov ebx, dword [esp + 0x68]
mov eax, dword [esi + 0xb1c]
mov ecx, dword [esp + 0x6c]
mov edi, dword [eax + ebp*4]
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x68]
mov edx, dword [edi]
push ecx
push ebx
push eax
mov ecx, edi
call dword [edx + 0xc]
push edi
lea ecx, [esi + 0x2e0]
mov dword [edi + 0xd0], 1
mov dword [edi + 0x1c], 0x1ebada
call fcn.004deba0
mov eax, dword [esi + 0xb20]
inc ebp
cmp ebp, eax
jl 0x4406dd
xor ebp, ebp
mov ecx, esi
call fcn.0043f300
cmp dword [0x619d18], ebp
je 0x44075a
cmp dword [esi + 0x178], ebp
je 0x44074a
push 0xc8
push 0x226
jmp 0x440754
push 0x15e
push 0x190
call dword [sym.imp.user32.dll_SetCursorPos]
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x34]
call fcn.0042bd50
mov eax, dword [esi + 0xb1c]
pop edi
cmp eax, ebp
je 0x440782
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 0xb1c], ebp
mov dword [esi + 0xb24], ebp
mov dword [esi + 0xb20], ebp
mov dword [esp + 0x1c], 0x5e2838
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], 3
cmp eax, ebp
je 0x4407af
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10