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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b9da
sub esp, 0x74
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x45b9c1
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x13
xchg ebp, eax
jne 0x45b9c1
movzx ebp, byte [ebx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x45b8ec
mov eax, 0x34
movzx ecx, word [ebx + 0x20]
lea ebp, [eax + ebx]
cmp ecx, 0x100000
ja 0x45b9b7
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], ecx
xor eax, eax
xor edx, edx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x4c], eax
xor edx, edx
mov dword [esp + 0x38], edx
xor eax, eax
xor edx, edx
jmp 0x45b4fa
inc eax
mov esi, dword [esp + 0x24]
add esi, 4
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
add edx, edi
mov edi, dword [esp + 0x44]
mov edi, ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x34], edi
cmp eax, ecx
jge 0x45b624
mov ebx, dword [ebp + eax*4]
mov ebp, dword [ebx]
cmp ebp, 4
ja 0x45b99f
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], esi
movzx ebx, byte [ebx + 0xd]
lea ebp, [ebx + edx - 1]
neg ebx
and ebx, ebp
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x45b5ca
mov edx, 1
test dl, dl
je 0x45b5b9
lea ebp, [edi + 1]
mov edx, ebx
mov ebx, dword [esp + 0x38]
cmp ebp, ebx
ja 0x45b56a
lea edi, [edi + edi*2]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + edi*4], esi
mov dword [ecx + edi*4 + 4], edx
mov esi, dword [esp + 0x40]
mov dword [ecx + edi*4 + 8], esi
jmp 0x45b4d0
mov dword [esp + 0x3c], eax
lea eax, [0x5f18c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
jmp 0x45b54f
mov edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, edi
mov ecx, dword [esp + 0x4c]
jmp 0x45b4d0
lea ebp, [edi + edi*2]
mov dword [esp + 0x3c], ebp
mov edx, edi
mov edi, dword [esp + 0x4c]
mov ebx, dword [edi + ebp*4 - 0xc]
mov ebp, dword [edi + ebp*4 - 4]
add ebx, ebp
cmp ebx, esi
jne 0x45b61e
mov ebx, dword [esp + 0x3c]
mov esi, dword [edi + ebx*4 - 8]
add esi, ebp
mov ebx, dword [esp + 0x20]
cmp ebx, esi
jne 0x45b61a
mov esi, dword [esp + 0x40]
add ebp, esi
mov esi, dword [esp + 0x3c]
mov dword [edi + esi*4 - 4], ebp
mov ebp, 1
xor ebp, 1
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, ebp
jmp 0x45b53e
xor ebp, ebp
jmp 0x45b60a
mov ebx, dword [esp + 0x20]
jmp 0x45b61a
nop
movzx ebp, byte [ebx + 0xc]
movzx edi, word [ebx + 0x22]
and edi, 0x7fff
mov ecx, esi
movzx esi, word [ebx + 0x20]
add edi, esi
movzx edi, di
cmp edi, 0x100000
ja 0x45b993
movzx esi, si
cmp edi, esi
jb 0x45b98a
mov dword [esp + 0x44], esi
lea eax, [esi - 0x100000]
neg eax
neg eax
shl esi, 2
sar eax, 0x1f
and eax, esi
mov esi, dword [esp + 0x44]
sub edi, esi
cmp edi, 1
jne 0x45b972
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x45b8e2
mov esi, 0x34
add esi, ebx
mov esi, dword [esi + eax]
nop
cmp dword [esi], 4
jne 0x45b95a
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x45b8d8
mov ebp, 0x34
add ebx, ebp
mov eax, dword [ebx + eax]
movzx eax, byte [eax + 0xf]
and eax, 0x1f
nop
cmp al, 0xd
je 0x45b942
cmp al, 0xe
je 0x45b942
lea eax, [edx + 3]
and eax, 0xfffffffc
lea edx, [eax + 4]
cmp edx, 0x100
ja 0x45b92a
mov dword [esp + 0x28], eax
movzx edx, byte [esp + 0x80]
test dl, dl
je 0x45b8d1
mov dword [esp + 0x24], ecx
nop
nop
lea eax, [0x794ac0]
mov dword [esp], eax
call fcn.00409820
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
movzx ecx, byte [esp + 0x80]
mov byte [esp + 0x58], cl
mov edx, dword [0x7a0644]
lea ebx, [0x5dcae0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x54]
mov dword [esp + 8], edx
call fcn.0040c9a0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x10]
test cl, cl
jne 0x45b89d
mov ecx, dword [0x7a0644]
test ecx, ecx
je 0x45b86e
mov ecx, dword [0x7a0648]
cmp ecx, 0x7d0
jge 0x45b904
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x5c]
mov eax, 0
call fcn.0045e0aa
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], edx
jae 0x45b8f6
mov eax, dword [esp + 0x2c]
lea edx, [eax + eax*2]
lea ebx, [0x794ac4]
lea edi, [ebx + edx*8]
mov edx, dword [0x7a0970]
lea ebx, [eax + eax*4]
mov dword [esp + 0x44], ebx
test edx, edx
jne 0x45b84f
lea esi, [esp + 0x5c]
call fcn.0045e584
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x80]
mov byte [esp + 0x58], al
mov eax, dword [0x7a0644]
lea ecx, [0x5dcae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0040cd60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
inc dword [0x7a0648]
nop
nop
lea eax, [0x794ac0]
mov dword [esp], eax
call fcn.00409a30
lea eax, [0x627164]
test byte [eax], al
mov eax, dword [esp + 0x44]
add eax, dword [0x627164]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
lea eax, [0x5f4c80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004106a0
jmp 0x45b7de
call fcn.0040c3b0
mov eax, dword [0x7a0970]
mov ecx, dword [esp]
test eax, eax
jne 0x45b88b
mov dword [0x7a0644], ecx
jmp 0x45b75a
lea edi, [0x7a0644]
mov eax, ecx
call fcn.0045de10
jmp 0x45b75a
mov dword [esp + 0x30], eax
nop
nop
lea eax, [0x794ac0]
mov dword [esp], eax
call fcn.00409a30
lea eax, [0x627164]
test byte [eax], al
mov eax, dword [esp + 0x30]
lea eax, [eax + eax*4]
add eax, dword [0x627164]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
xor ecx, ecx
jmp 0x45b6f1
mov ebp, 0x24
jmp 0x45b6a9
mov esi, 0x24
jmp 0x45b68a
mov eax, 0x24
jmp 0x45b49b
mov eax, dword [esp + 0x2c]
mov ecx, 0x7d0
call fcn.0045de90
nop
nop
lea eax, [0x794ac0]
mov dword [esp], eax
call fcn.00409a30
lea eax, [0x616e9d]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004321d0
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c108]
mov dword [esp + 4], eax
call fcn.00431a30
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c100]
mov dword [esp + 4], eax
call fcn.00431a30
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c0f0]
mov dword [esp + 4], eax
call fcn.00431a30
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c0f0]
mov dword [esp + 4], eax
call fcn.00431a30
mov eax, esi
mov ecx, edi
call fcn.0045def0
mov ecx, edi
mov edx, 0x100000
call fcn.0045deb0
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c0f8]
mov dword [esp + 4], eax
call fcn.00431a30
mov edx, 0x100000
call fcn.0045deb0
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65c0f0]
mov dword [esp + 4], eax
call fcn.00431a30
nop
call fcn.0045c8b0
jmp fcn.0045b450