Function at 0x451540
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 0x45220c
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x98], ecx
lea edx, [0x51bb60]
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.0040c5a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x45213d
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x98], ecx
lea edx, [0x51bb60]
mov dword [esp], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
lea ebx, [esp + 0x94]
mov dword [esp + 8], ebx
call fcn.0040c960
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
je 0x45212e
movzx edx, byte [eax + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [ecx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp dl, al
xchg ebp, eax
jne 0x45211f
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
mov dword [esp], eax
call fcn.00450290
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.00450290
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
je 0x45166e
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x45165f
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00450320
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
call fcn.00450320
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x452074
test eax, eax
jne 0x452072
movzx ebx, byte [esp + 0x16]
lea ebp, [ebx - 1]
xchg ebp, eax
cmp al, 0xf
xchg ebp, eax
jbe 0x452063
cmp bl, 0x15
ja 0x451d5a
cmp bl, 0x12
jbe 0x451ca5
cmp bl, 0x13
jne 0x451991
mov ebx, dword [esp + 0xa4]
movzx ebp, word [ebx + 0x22]
mov esi, dword [esp + 0xa0]
cmp word [esi + 0x22], bp
jne 0x451982
movzx ebp, word [esi + 0x20]
movzx edi, word [ebx + 0x20]
cmp bp, di
jne 0x451982
nop
mov eax, edi
movzx edi, byte [esi + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x451978
mov ecx, 0x34
movzx ebp, bp
lea edi, [ecx + esi]
cmp ebp, 0x100000
ja 0x4521ac
nop
mov ecx, esi
movzx esi, byte [ebx + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x45196e
mov edx, 0x34
mov dword [esp + 0x8c], edi
mov dword [esp + 0x24], ebp
movzx esi, ax
mov dword [esp + 0x1c], esi
mov eax, ebx
add ebx, edx
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
jmp 0x4517cb
mov eax, dword [esp + 0x34]
inc eax
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x34]
cmp ebp, ebx
jle 0x451816
jbe 0x4521a3
mov edi, dword [edi + ebx*4]
cmp esi, ebx
jbe 0x45219a
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + ebx*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00451540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451797
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
nop
movzx ebx, byte [ecx + 0xc]
test bl, 1
je 0x451964
mov ebx, 0x34
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 0x45218e
movzx esi, si
cmp ebp, esi
jb 0x452185
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 0x45195a
mov ecx, 0x34
mov dword [esp + 0x60], 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 0x452179
movzx eax, di
cmp esi, eax
jb 0x452172
mov dword [esp + 0x20], 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 + 0x60]
xor eax, eax
jmp 0x451907
mov eax, dword [esp + 0x30]
inc eax
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x60]
cmp ebp, eax
jle 0x45194b
jbe 0x45216b
mov edi, dword [edi + eax*4]
cmp esi, eax
jbe 0x452164
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00451540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4518eb
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov ecx, 0x24
jmp 0x451888
mov ebx, 0x24
jmp 0x451829
mov edx, 0x24
jmp 0x451763
mov ecx, 0x24
jmp 0x45173a
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
cmp bl, 0x14
jne 0x451c2f
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00450e00
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.00450e00
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
je 0x4519ea
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x4519db
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0xa4]
cmp dword [ebp + 0x28], ebx
jne 0x451c20
mov dword [esp + 0x44], ebx
xor eax, eax
jmp 0x451a41
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
cmp eax, ebx
jge 0x451c11
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp ecx, eax
jbe 0x45215f
lea edi, [esi + eax*8]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp ebp, eax
jbe 0x452158
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], edi
lea ecx, [esi + eax*8]
mov ecx, dword [ecx]
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.004504b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
lea edx, [ecx + eax*8]
mov dword [esp + 0x54], edx
lea ebx, [ecx + eax*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 8]
mov dword [esp + 0x7c], ebp
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004504b0
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call fcn.00450e00
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.00450e00
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x451c02
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x451c02
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00450f00
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.00450f00
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x451bf3
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x451bf3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00450770
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00450770
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00451540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451a28
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], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00451540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451c73
xor eax, eax
mov byte [esp + 0xac], al
add esp, 0x9c
ret
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.00451540
movzx eax, byte [esp + 0xc]
jmp 0x451c65
cmp bl, 0x11
je 0x451cfd
cmp bl, 0x12
jne 0x4521b8
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x24], ecx
je 0x451cd9
xor eax, eax
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov ecx, dword [edx + 0x20]
mov eax, dword [eax + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00451540
movzx eax, byte [esp + 0xc]
jmp 0x451ccb
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00451540
movzx eax, byte [esp + 0xc]
test al, al
je 0x451d56
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + 0x28], eax
sete al
mov byte [esp + 0xac], al
add esp, 0x9c
ret
xor eax, eax
jmp 0x451d48
cmp bl, 0x17
ja 0x451de4
cmp bl, 0x16
jne 0x451da6
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00451540
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00451540
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
cmp bl, 0x18
jne 0x451df8
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
cmp bl, 0x19
jne 0x452055
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
cmp dword [edx + 0x28], ecx
jne 0x452046
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00450e00
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.00450e00
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
je 0x451e64
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x451e55
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xa4]
xor eax, eax
jmp 0x451eb2
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 ebx, eax
jle 0x452037
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp ecx, eax
jbe 0x452153
lea edi, [eax + eax*2]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp ebp, eax
jbe 0x45214c
mov dword [esp + 0x40], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + edi*4]
mov dword [esp], eax
call fcn.00450e00
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 + 0x6c]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.00450e00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x452028
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x452028
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x6c]
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.00451540
movzx eax, byte [esp + 0xc]
test al, al
je 0x452019
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.00450e80
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 + 0x6c]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.00450e80
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x45200a
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
je 0x45200a
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
lea ebx, [ebx + edx*4 + 8]
mov ebp, dword [esp + 0x6c]
mov edx, dword [ebp + edx*4 + 8]
cmp dword [ebx], edx
je 0x451e99
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 byte [esp + 0xac], 0
add esp, 0x9c
ret
cmp bl, 0x1a
je 0x451de9
jmp 0x4521b8
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
test ecx, ecx
je 0x45207a
test eax, eax
jne 0x452089
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov dword [esp + 0x58], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004504b0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00450e00
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], 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.004504b0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00450e00
mov eax, dword [esp + 0x28]
cmp dword [esp + 8], eax
jne 0x452110
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4516c8
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
mov ecx, ebp
call fcn.0045a700
call fcn.0045a700
mov ecx, ebp
call fcn.0045a700
call fcn.0045a700
mov ecx, esi
call fcn.0045a700
mov ecx, ebp
call fcn.0045a700
mov ecx, esi
call fcn.0045a760
mov ecx, esi
mov edx, 0x100000
call fcn.0045a720
mov eax, esi
mov ecx, ebp
call fcn.0045a760
mov ecx, ebp
mov edx, 0x100000
call fcn.0045a720
mov eax, ebx
mov ecx, esi
call fcn.0045a700
mov eax, ebx
mov ecx, ebp
call fcn.0045a700
mov ecx, ebp
mov edx, 0x100000
call fcn.0045a720
call fcn.00432830
lea eax, [0x53c7b8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00433130
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.00432dd0
call fcn.00432a50
call fcn.004328a0
lea eax, [0x53c1cc]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00431060
nop
call fcn.00459120
jmp fcn.00451540