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

Disassembly:
push 0xffffffffffffffff
push 0x4ae810
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
je 0x44083a
mov esi, dword [esp + 0x6c]
cmp esi, dword [eax + 4]
jae 0x44083a
mov edi, dword [esp + 0x68]
add esi, 3
shl esi, 4
add esi, edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x6c], ebx
movzx ebp, word [esi]
mov eax, 1
mov dword [esp + 0x58], ebx
cmp ax, bp
jne 0x4406d1
movzx eax, word [esi + 2]
mov edx, dword [ecx + 0x30]
cmp eax, edx
jae 0x440700
movzx edx, word [esi + 2]
mov ebx, dword [ecx + 0x2c]
mov ebx, dword [ebx + edx*4]
mov dword [esp + 0x68], ebx
cmp edx, dword [ecx + 0x3c]
jae 0x4406c7
mov edx, dword [ecx + 0x38]
mov ebx, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
xor ebx, ebx
jmp 0x4406d1
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, 2
cmp ax, bp
jne 0x440723
movzx edx, word [esi + 2]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004424c0
push eax
lea ecx, [esp + 0x70]
call fcn.0045b5a0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
cmp eax, ebx
jne 0x440729
mov esi, dword [esp + 0x60]
push esi
call fcn.00404250
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004733d0
jmp 0x440847
cmp dword [esp + 0x68], ebx
jmp 0x4406fe
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
push ebx
push ebp
push ecx
push edx
call fcn.0049c6b0
mov ecx, dword [esi + 8]
push ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
push ebp
push eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.0049c6b0
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
adc edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x24]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x44]
call fcn.0043f560
mov eax, 1
cmp ax, word [esi]
jne 0x44080d
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x70], 0
je 0x44080d
mov edx, dword [eax + 0x2c]
movzx ecx, word [esi + 2]
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x20021
push 0
lea edx, [esp + 0x78]
push edx
call eax
mov esi, dword [eax]
mov dword [esp + 0x64], esi
mov byte [esp + 0x58], 1
test esi, esi
jne 0x4407e8
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 0
call fcn.004733d0
jmp 0x44080d
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov byte [esp + 0x5c], 0
mov dword [esp + 0x68], esi
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
push 0
push esi
call fcn.00448960
add esp, 0x1c
jmp 0x44070d
mov esi, dword [esp + 0x60]
push esi
call fcn.00404250
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x18