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

Disassembly:
push 0xffffffffffffffff
push 0x4ce7d1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x84], 1
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
jbe 0x404be8
call fcn.004ab591
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x404bf5
call fcn.004ab591
cmp ebp, esi
je 0x404bfd
cmp ebp, ebp
je 0x404c02
call fcn.004ab591
cmp ebx, edi
je 0x404cbb
cmp ebp, esi
mov edi, ebp
mov dword [esp + 0x18], ebx
jne 0x404c19
call fcn.004ab591
cmp ebx, dword [ebp + 4]
ja 0x404c23
call fcn.004ab591
lea esi, [ebx - 4]
cmp esi, dword [edi + 8]
mov dword [esp + 0x14], esi
jb 0x404c34
call fcn.004ab591
mov eax, dword [esi]
mov esi, dword [esp + 0x90]
push eax
lea ecx, [esp + 0x60]
push esi
push ecx
call fcn.00404760
mov eax, dword [esp + 0x6c]
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
je 0x404c61
push eax
call fcn.004a93cc
add esp, 4
xor ecx, ecx
mov eax, dword [esi + 0x14]
cmp eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
jne 0x404c7d
mov dword [esp + 0x94], ecx
jmp 0x404c89
mov edx, dword [esi + 0x18]
sub edx, eax
mov dword [esp + 0x94], edx
lea eax, [esp + 0x94]
push eax
call fcn.00414cb0
lea edi, [esi + 0x34]
push edi
lea esi, [esp + 0x50]
call fcn.00414cb0
add dword [edi], 0xffffffff
cmp ebx, dword [ebp + 4]
ja 0x404cb0
call fcn.004ab591
mov ebx, dword [esp + 0x14]
xor esi, esi
jmp 0x404be8
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x84], 2
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x404ce7
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, 0xf
jae 0x404d12
cmp ecx, esi
jne 0x404ceb
xor eax, eax
jmp 0x404cf3
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
lea ecx, [esp + 0x94]
or al, 0xa0
push ecx
lea esi, [esp + 0x40]
mov byte [esp + 0x98], al
call fcn.00414fe0
jmp 0x404dd3
lea edx, [esp + 0x94]
push edx
lea esi, [esp + 0x40]
mov byte [esp + 0x98], 0xaf
call fcn.00414fe0
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x404d36
xor eax, eax
jmp 0x404d3e
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
push 0
push 0
push eax
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00405a20
add esp, 0x14
mov byte [esp + 0x84], 3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x94], eax
jbe 0x404d80
call fcn.004ab591
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
lea edi, [esp + 0x2c]
mov ebp, ecx
jbe 0x404d8f
call fcn.004ab591
mov ebx, dword [esp + 0x44]
cmp dword [esp + 0x40], ebx
lea esi, [esp + 0x2c]
jbe 0x404da2
call fcn.004ab591
mov edx, dword [esp + 0x94]
push edx
push edi
push ebp
push esi
lea eax, [esp + 0x4c]
push ebx
push eax
mov esi, eax
call fcn.00419a60
mov byte [esp + 0x84], 2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x404dd3
push eax
call fcn.004a93cc
add esp, 4
mov edi, dword [esp + 0x8c]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
cmp esi, eax
mov dword [esp + 0x1c], 1
jbe 0x404e02
call fcn.004ab591
mov eax, dword [esp + 0x54]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov edi, edi
cmp dword [esp + 0x50], eax
mov ebp, eax
jbe 0x404e1d
call fcn.004ab591
test ebx, ebx
je 0x404e29
lea eax, [esp + 0x4c]
cmp ebx, eax
je 0x404e2e
call fcn.004ab591
cmp esi, ebp
je 0x404f52
test ebx, ebx
jne 0x404e3f
call fcn.004ab591
cmp esi, dword [ebx + 8]
jb 0x404e49
call fcn.004ab591
mov ecx, dword [esi]
push ecx
lea eax, [esp + 0x70]
call fcn.004199b0
mov edx, dword [esp + 0x94]
mov byte [esp + 0x88], 4
mov ecx, dword [edx + 0x30]
push ecx
push eax
lea edx, [esp + 0x68]
push edx
call fcn.00407440
add esp, 0x10
mov byte [esp + 0x84], 6
mov eax, dword [esp + 0x70]
xor esi, esi
cmp eax, esi
je 0x404e91
push eax
call fcn.004a93cc
add esp, 4
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
jbe 0x404eaa
call fcn.004ab591
lea esi, [esp + 0x20]
lea edi, [esp + 0x5c]
call fcn.00414fa0
lea esi, [esp + 0x2c]
mov ebp, eax
call fcn.00414f70
mov edx, dword [ebp]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xa4]
push ebx
push eax
push eax
call fcn.00419a10
mov byte [esp + 0x84], 2
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
je 0x404f17
push eax
call fcn.004a93cc
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 8]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
jb 0x404f35
call fcn.004ab591
add dword [esp + 0x18], 4
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x8c]
jmp 0x404e10
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
cmp eax, ecx
mov dword [esp + 0x94], ecx
jbe 0x404f72
call fcn.004ab591
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
cmp eax, ecx
lea ebp, [esp + 0x3c]
mov dword [esp + 0x14], eax
jbe 0x404f83
call fcn.004ab591
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
lea ebx, [esp + 0x3c]
jbe 0x404f94
call fcn.004ab591
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x14]
push eax
push ebp
push ecx
push ebx
push esi
push edi
mov esi, edi
call fcn.00419a60
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x404fb9
call fcn.004ab591
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x94], eax
jbe 0x404fcd
call fcn.004ab591
mov esi, dword [esp + 0x90]
mov ebp, dword [esi + 0x14]
add esi, 0x10
cmp ebp, dword [esi + 8]
jbe 0x404fe4
call fcn.004ab591
mov edx, dword [esp + 0x94]
push ebx
push edi
push edx
push edi
push ebp
push esi
call fcn.00419a60
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x405009
push eax
call fcn.004a93cc
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x405026
push eax
call fcn.004a93cc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret