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

Disassembly:
push 0xffffffffffffffff
push 0x440c88
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4549cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x68], ebx
je 0x404d86
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov edi, dword [esp + 0x70]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jae 0x404d86
lea ebp, [edi + edi*8]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x404bf4
call fcn.00427f77
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + ebp + 0x10]
sub ecx, dword [eax + ebp + 0xc]
add eax, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jae 0x404d75
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00402e40
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.00403a10
mov ebp, eax
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x68], 1
cmp edi, ecx
jb 0x404c77
call fcn.00427f77
mov edi, dword [esi + 0x30]
add edi, dword [esp + 0x20]
mov eax, 0x92492493
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x404ca2
call fcn.00427f77
mov eax, dword [edi + 0xc]
add eax, dword [esp + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402e40
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00403a10
mov ecx, dword [ebp + 0x14]
mov edi, 0x10
mov byte [esp + 0x68], 2
cmp dword [ebp + 0x18], edi
jb 0x404ceb
mov ebp, dword [ebp + 4]
jmp 0x404cee
add ebp, 4
mov edx, dword [eax + 0x14]
push ecx
push ebp
push edx
push ebx
mov ecx, eax
call fcn.00402300
test eax, eax
sete byte [esp + 0x17]
cmp dword [esp + 0x40], edi
jb 0x404d16
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040a820
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x68], bl
cmp dword [esp + 0x5c], edi
jb 0x404d3d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040a820
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x404d59
inc dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x70]
jmp 0x404bd4
cmp dword [esp + 0x8c], edi
jb 0x404d6f
mov edx, dword [esp + 0x78]
push edx
call fcn.0040a820
add esp, 4
mov eax, dword [esp + 0x18]
jmp 0x404da0
cmp dword [esp + 0x8c], 0x10
jb 0x404d9d
mov eax, dword [esp + 0x78]
push eax
jmp 0x404d95
cmp dword [esp + 0x8c], 0x10
jb 0x404d9d
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0040a820
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20