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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x459a27
sub esp, 0x9c
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x98], ecx
lea edx, [0x4aa0a0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x94]
mov dword [esp + 8], ebp
call fcn.0040c6a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4593b4
lea eax, [0x4aa0a0]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
call fcn.0040ca20
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
je 0x4593a5
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 0x459396
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
mov dword [esp], ecx
call fcn.00457a30
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call fcn.00457a30
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x459387
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x459387
mov ebx, dword [esp + 0xa0]
movzx ebp, byte [ebx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
jne 0x458e13
xor ebp, ebp
jmp 0x458e84
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x14
xchg ebp, eax
ja 0x458e51
xchg ebp, eax
cmp al, 0x12
xchg ebp, eax
ja 0x458e40
xchg ebp, eax
cmp al, 0x11
xchg ebp, eax
jne 0x458e34
lea ebp, [ebx + 0x2c]
jmp 0x458e84
xchg ebp, eax
cmp al, 0x12
xchg ebp, eax
jne 0x458e81
lea ebp, [ebx + 0x28]
jmp 0x458e84
xchg ebp, eax
cmp al, 0x13
xchg ebp, eax
jne 0x458e4c
lea ebp, [ebx + 0x24]
jmp 0x458e84
lea ebp, [ebx + 0x30]
jmp 0x458e84
xchg ebp, eax
cmp al, 0x16
xchg ebp, eax
ja 0x458e69
xchg ebp, eax
cmp al, 0x15
xchg ebp, eax
jne 0x458e64
lea ebp, [ebx + 0x38]
jmp 0x458e84
lea ebp, [ebx + 0x24]
jmp 0x458e84
xchg ebp, eax
cmp al, 0x17
xchg ebp, eax
jne 0x458e75
lea ebp, [ebx + 0x24]
jmp 0x458e84
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jne 0x458e81
lea ebp, [ebx + 0x30]
jmp 0x458e84
lea ebp, [ebx + 0x20]
mov esi, dword [esp + 0xa4]
movzx edi, byte [esi + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
jne 0x458e9a
xor edi, edi
jmp 0x458f0b
movzx edi, byte [esi + 0xf]
and edi, 0x1f
xchg edi, eax
cmp al, 0x14
xchg edi, eax
ja 0x458ed8
xchg edi, eax
cmp al, 0x12
xchg edi, eax
ja 0x458ec7
xchg edi, eax
cmp al, 0x11
xchg edi, eax
jne 0x458ebb
lea edi, [esi + 0x2c]
jmp 0x458f0b
xchg edi, eax
cmp al, 0x12
xchg edi, eax
jne 0x458f08
lea edi, [esi + 0x28]
jmp 0x458f0b
xchg edi, eax
cmp al, 0x13
xchg edi, eax
jne 0x458ed3
lea edi, [esi + 0x24]
jmp 0x458f0b
lea edi, [esi + 0x30]
jmp 0x458f0b
xchg edi, eax
cmp al, 0x16
xchg edi, eax
ja 0x458ef0
xchg edi, eax
cmp al, 0x15
xchg edi, eax
jne 0x458eeb
lea edi, [esi + 0x38]
jmp 0x458f0b
lea edi, [esi + 0x24]
jmp 0x458f0b
xchg edi, eax
cmp al, 0x17
xchg edi, eax
jne 0x458efc
lea edi, [esi + 0x24]
jmp 0x458f0b
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jne 0x458f08
lea edi, [esi + 0x30]
jmp 0x458f0b
lea edi, [esi + 0x20]
test ebp, ebp
jne 0x458f1b
test edi, edi
je 0x458fbb
test ebp, ebp
je 0x458f1f
test edi, edi
jne 0x458f2e
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov dword [esp + 0x60], edi
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00457bf0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.004583c0
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00457bf0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.004583c0
mov eax, dword [esp + 0x28]
cmp dword [esp + 8], eax
jne 0x459378
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x459378
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
movzx ebp, byte [esp + 0x16]
lea edi, [ebp - 1]
xchg edi, eax
cmp al, 0xf
xchg edi, eax
jbe 0x459369
xchg ebp, eax
cmp al, 0x15
xchg ebp, eax
ja 0x459233
xchg ebp, eax
cmp al, 0x12
xchg ebp, eax
jbe 0x459196
xchg ebp, eax
cmp al, 0x13
xchg ebp, eax
jne 0x45908e
movzx ebp, word [ebx + 0x22]
cmp word [esi + 0x22], bp
jne 0x45907f
movzx ebp, word [ebx + 0x20]
movzx edi, word [esi + 0x20]
cmp di, bp
jne 0x45907f
nop
mov eax, edi
movzx edi, byte [ebx + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x45901f
mov ecx, 0x34
jmp 0x459024
mov ecx, 0x24
movzx ebp, bp
lea edi, [ecx + ebx]
cmp ebp, 0x100000
ja 0x459a1a
nop
mov ecx, ebx
movzx ebx, byte [esi + 0xc]
test bl, 1
je 0x459049
mov edx, 0x34
jmp 0x45904e
mov edx, 0x24
mov dword [esp + 0x5c], edi
mov dword [esp + 0x24], ebp
movzx ebx, ax
mov dword [esp + 0x20], ebx
mov eax, esi
add esi, edx
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x459848
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
xchg ebp, eax
cmp al, 0x14
xchg ebp, eax
jne 0x45912e
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call fcn.004583c0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.004583c0
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x45911f
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x45911f
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0xa4]
cmp dword [ebp + 0x28], ebx
jne 0x459110
mov dword [esp + 0x44], ebx
xor eax, eax
jmp 0x45962e
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459158
xor eax, eax
jmp 0x459188
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
xchg ebp, eax
cmp al, 0x11
xchg ebp, eax
je 0x4591e4
xchg ebp, eax
cmp al, 0x12
xchg ebp, eax
jne 0x4593c3
mov eax, dword [ebx + 0x24]
cmp dword [esi + 0x24], eax
je 0x4591b4
xor eax, eax
jmp 0x4591d6
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x459223
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa4]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x459225
xor eax, eax
mov byte [esp + 0xac], al
add esp, 0x9c
ret
xchg ebp, eax
cmp al, 0x17
xchg ebp, eax
ja 0x4592a1
xchg ebp, eax
cmp al, 0x16
xchg ebp, eax
jne 0x459271
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
xchg ebp, eax
cmp al, 0x18
xchg ebp, eax
je 0x45935a
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jne 0x459353
mov eax, dword [esi + 0x28]
cmp dword [ebx + 0x28], eax
jne 0x459344
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call fcn.004583c0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.004583c0
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x459335
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x459335
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xa4]
xor eax, eax
jmp 0x45942f
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
xchg ebp, eax
cmp al, 0x1a
xchg ebp, eax
jne 0x4593c3
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
call fcn.00435e90
lea eax, [0x4bf765]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00436790
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.00436410
call fcn.004360b0
call fcn.00435f00
lea eax, [0x4bf22c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434610
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
cmp eax, ebx
jge 0x4595fa
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x459610
lea edi, [eax + eax*2]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp eax, ebp
jae 0x459609
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], eax
mov eax, dword [esi + edi*4]
mov dword [esp], eax
call fcn.004583c0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.004583c0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x4595eb
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x4595eb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4595dc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.004584a0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.004584a0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x4595cd
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x4595cd
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + edx*4 + 8]
mov esi, dword [esp + 0x8c]
lea edi, [esi + edx*4 + 8]
cmp dword [edi], ebp
jne 0x4595be
mov ebx, dword [ebx + edx*4]
mov edx, dword [esi + edx*4]
movzx ebx, byte [ebx]
test bl, 8
setne bl
movzx edx, byte [edx]
test dl, 8
setne dl
cmp dl, bl
je 0x459416
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov ecx, ebp
call fcn.0045f180
call fcn.0045f180
mov esi, dword [esp + 0x30]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
cmp eax, ebx
jge 0x4597ff
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x459815
lea edi, [esi + eax*8]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp eax, ebp
jae 0x45980e
mov dword [esp + 0x84], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x80], esi
lea ecx, [esi + eax*8]
mov ecx, dword [ecx]
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.00457bf0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
lea edx, [ecx + eax*8]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x7c], ebx
lea ebp, [ecx + eax*8]
mov ebp, dword [ebp]
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.00457bf0
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call fcn.004583c0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.004583c0
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x4597f0
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x4597f0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004585d0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.004585d0
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x4597e1
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x4597e1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00457eb0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x84]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00457eb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459615
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov ecx, ebp
call fcn.0045f180
call fcn.0045f180
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x38]
cmp esi, ebp
jge 0x459890
jae 0x459a11
mov edi, dword [edi + esi*4]
cmp esi, ebx
jae 0x459a08
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + esi*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45981a
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
nop
movzx ebx, byte [ecx + 0xc]
test bl, 1
je 0x4598a1
mov ebx, 0x34
jmp 0x4598a6
mov ebx, 0x24
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
add ebx, ecx
cmp ebp, 0x100000
ja 0x4599fc
movzx esi, si
cmp esi, ebp
ja 0x4599f3
nop
sub ebp, esi
lea edi, [esi - 0x100000]
xchg edi, ebx
neg ebx
xchg edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl esi, 2
sar edi, 0x1f
and esi, edi
add ebx, esi
movzx esi, byte [eax + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x459903
mov ecx, 0x34
jmp 0x459908
mov ecx, 0x24
mov dword [esp + 0x54], ebx
movzx esi, word [eax + 0x22]
and esi, 0x7fff
movzx edi, word [eax + 0x20]
add esi, edi
movzx esi, si
lea ebx, [ecx + eax]
cmp esi, 0x100000
ja 0x4599e7
movzx eax, di
cmp eax, esi
ja 0x4599e0
mov dword [esp + 0x1c], ebp
sub esi, eax
mov dword [esp + 0x18], esi
lea edi, [eax - 0x100000]
xchg edi, ebx
neg ebx
xchg edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl eax, 2
sar edi, 0x1f
and eax, edi
add ebx, eax
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x54]
xor eax, eax
jmp 0x459987
mov eax, dword [esp + 0x34]
inc eax
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
cmp eax, ebp
jge 0x4599c3
jae 0x4599d9
mov edi, dword [edi + eax*4]
cmp eax, esi
jae 0x4599d2
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458cc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45996b
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov ecx, esi
call fcn.0045f180
mov ecx, ebp
call fcn.0045f180
mov ecx, esi
call fcn.0045f1e0
mov ecx, esi
mov edx, 0x100000
call fcn.0045f1a0
mov eax, esi
mov ecx, ebp
call fcn.0045f1e0
mov ecx, ebp
mov edx, 0x100000
call fcn.0045f1a0
mov eax, esi
mov ecx, ebx
call fcn.0045f180
mov eax, esi
mov ecx, ebp
call fcn.0045f180
mov ecx, ebp
mov edx, 0x100000
call fcn.0045f1a0
nop
call fcn.0045dcf0
jmp fcn.00458cc0