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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x460542
sub esp, 0x98
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x94], ecx
lea edx, [0x49dee0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x90]
mov dword [esp + 8], ebp
call fcn.0040dee0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x46003b
lea eax, [0x49dee0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
lea ecx, [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.0040e410
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
je 0x46002c
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x46001d
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], dl
mov dword [esp], ecx
call fcn.0045f9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call fcn.0045f9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.0045ea00
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call fcn.0045ea00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x45fb67
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45fb76
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00401900
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call fcn.00401900
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x45fbb4
test eax, eax
je 0x45fc4c
test ecx, ecx
je 0x45fbb8
test eax, eax
jne 0x45fbc7
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0045ee90
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401fb0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0045ee90
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401fb0
mov eax, dword [esp + 0x20]
cmp dword [esp + 8], eax
jne 0x46000e
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x46000e
movzx eax, byte [esp + 0x15]
test al, al
je 0x46004a
cmp al, 0x10
jbe 0x45ffff
cmp al, 0x15
ja 0x45feb0
cmp al, 0x12
jbe 0x45fdfb
cmp al, 0x13
jne 0x45fce0
mov eax, dword [esp + 0x9c]
movzx ecx, word [eax + 0x22]
mov edx, dword [esp + 0xa0]
cmp word [edx + 0x22], cx
jne 0x45fcd1
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x45fcd1
mov dword [esp], eax
call fcn.00401bd0
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call fcn.00401bd0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x460464
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
cmp al, 0x14
jne 0x45fd85
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00401fb0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x84], ebx
mov dword [esp], edx
call fcn.00401fb0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x45fd76
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x45fd76
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x28], ecx
jne 0x45fd67
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x46029f
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45fdbd
xor eax, eax
jmp 0x45fded
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x11
je 0x45fe53
cmp al, 0x12
jne 0x46004a
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x24], ecx
je 0x45fe23
xor eax, eax
jmp 0x45fe45
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
je 0x45fea0
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x45fea2
xor eax, eax
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x17
ja 0x45ff3a
cmp al, 0x16
jne 0x45fefc
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x18
je 0x45fff0
cmp al, 0x19
jne 0x45ffeb
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x9c]
cmp dword [edx + 0x28], ecx
jne 0x45ffdc
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call fcn.00401fb0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x84], ebx
mov dword [esp], edx
call fcn.00401fb0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x45ffcd
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x45ffcd
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x4600af
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
cmp al, 0x1a
jne 0x46004a
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
call fcn.0043ce60
lea eax, [0x4b13eb]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0043d670
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.0043d390
call fcn.0043d040
call fcn.0043cec0
lea eax, [0x4b0f7b]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043b5b0
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x460277
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x7c], ebp
lea esi, [edx + edx*2]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + esi*4]
mov dword [esp], edi
call fcn.00401fb0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x84], ebp
mov dword [esp], ebx
call fcn.00401fb0
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x460268
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x460268
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
je 0x460259
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.00402060
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x84], ebp
mov dword [esp], ebx
call fcn.00402060
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x46024a
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x46024a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + eax*4 + 8]
cmp dword [ebp], edx
jne 0x46023b
mov ecx, dword [ecx + eax*4]
mov dword [esp], ecx
call fcn.00401e70
movzx eax, byte [esp + 4]
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx + ecx*4]
mov dword [esp], ecx
call fcn.00401e70
movzx eax, byte [esp + 0x16]
cmp byte [esp + 4], al
je 0x46009d
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xa0]
cmp ebx, ecx
jge 0x46044a
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], ecx
lea ebp, [ecx + ebx*8]
mov dword [esp + 0x58], ebp
mov esi, dword [edx + 0x24]
mov dword [esp + 0x74], esi
lea edi, [esi + ebx*8]
mov dword [esp + 0x44], edi
lea edx, [ecx + ebx*8]
mov edx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0045ebf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0045ebf0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.00401fb0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call fcn.00401fb0
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x46043b
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x46043b
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0045f3f0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call fcn.0045f3f0
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x46042c
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403f40
movzx eax, byte [esp + 0xc]
test al, al
je 0x46042c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045eed0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0045eed0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
jne 0x460286
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov edx, dword [esp + 0x30]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x4604a9
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
jne 0x460459
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00401c70
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call fcn.00401c70
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor ecx, ecx
jmp 0x4604ee
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jge 0x460533
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
call fcn.0045fa00
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4604e3
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
call fcn.00465d00
jmp fcn.0045fa00