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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov eax, ecx
mov dword [esp + 0x30], edx
xor ecx, ecx
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
mov ebx, ecx
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [esp + 0x94], cx
je 0x453729
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x453f14
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
cmp eax, 0x3f
ja 0x453f14
xor edx, edx
movzx eax, ax
add eax, ecx
mov ebp, dword [esp + 0x7c]
inc edx
mov esi, dword [esp + 0x78]
mov byte [esp + 0x18], dl
xor edi, edi
xor edx, edx
movlpd qword [esp + 0x70], xmm0
bts edx, eax
movlpd qword [esp + 0x68], xmm0
cmp eax, 0x20
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
cmovae edi, edx
mov dword [esp + 0x14], ebp
xor edx, edi
mov dword [esp + 0x20], esi
cmp eax, 0x40
mov eax, dword [esp + 0x90]
push 0
cmovae edi, edx
add edx, 0xffffffff
mov dword [esp + 0x64], edx
adc edi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x88], eax
pop eax
setne al
mov dword [esp + 0x64], edi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
cmp ebp, edi
ja 0x453ead
jb 0x4537e6
cmp esi, edx
jae 0x453eaf
movzx eax, word [esp + 0x94]
cmp dword [esp + 0x30], eax
jg 0x453ec1
cmp dword [esp + 0x30], 0
jle 0x453819
mov ebp, dword [esp + 0x48]
or ebp, dword [ebx + 8]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x4c]
or ebp, dword [ebx + 0xc]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
cmp ebx, eax
jge 0x453843
cmp word [esp + 0x84], 0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x28], ebx
jne 0x453ea1
jmp 0x45384e
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 0x24]
test edx, 0x400
jne 0x453ebb
mov eax, dword [esp + 0x90]
and eax, 0x80
mov dword [esp + 0x70], eax
je 0x453875
xor eax, eax
mov word [ebx + 0x1e], ax
movzx eax, byte [ebx + 0x10]
imul ecx, eax, 0x48
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x34], eax
cmp word [esp + 0x2c], ax
je 0x4539be
mov edx, dword [esp + 0x38]
add edx, 4
mov dword [esp + 0x24], edx
xor ecx, ecx
xor esi, esi
add eax, ecx
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x20]
mov eax, edi
and eax, ebp
or ecx, eax
jne 0x453996
mov ecx, dword [edx]
call fcn.00429723
mov ebx, eax
cmp byte [ebx], 0xa2
jne 0x453996
mov edx, dword [esp + 0x50]
cmp dword [ebx + 0x18], edx
jne 0x453996
mov ecx, dword [esp + 0x48]
xor eax, eax
push eax
mov eax, dword [esp + 0x84]
not ecx
movzx eax, ax
push eax
mov eax, dword [esp + 0x54]
not eax
push eax
movsx eax, word [ebx + 0x1c]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
lea ecx, [ecx + 0x50]
call fcn.004507b3
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x453992
movzx ecx, word [ebp + 0xc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x45395c
mov edx, dword [esp + 0x28]
xor eax, eax
movzx edx, word [edx + 0x28]
test edx, edx
je 0x453958
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
cmp ebp, dword [ecx]
je 0x453954
inc eax
add ecx, 4
cmp eax, edx
jl 0x453948
movzx ecx, word [ebp + 0xc]
cmp eax, edx
jge 0x453992
test cl, 0x82
je 0x453982
xor eax, eax
cmp word [ebx + 0x1c], ax
jl 0x453982
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push dword [ebp]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.0042987b
pop ecx
test eax, eax
je 0x453992
mov ebp, dword [esp + 0x14]
or dword [esp + 0x20], esi
or ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x453996
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
inc eax
add dword [esp + 0x24], 0x18
movzx ecx, dx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x4538a7
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x24]
test edx, 0x1000
jne 0x453db3
test edx, 0x100
je 0x4539df
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
inc eax
jmp 0x453a19
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x453f14
test byte [ecx + 0x38], 4
jne 0x453f14
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 0x34]
je 0x453a1d
test edx, 0x8000
jne 0x453a1d
xor ecx, ecx
inc ecx
mov byte [esp + 0x18], cl
xor ecx, ecx
jmp 0x453a23
xor ecx, ecx
mov byte [esp + 0x18], cl
xor edx, edx
movzx eax, ax
mov byte [esp + 0x1e], cl
mov ebp, edx
mov byte [esp + 0x1d], cl
mov cl, dl
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
test eax, eax
je 0x453db5
mov dword [esp + 0x54], edx
inc edx
movzx ecx, word [ebx + 0x18]
mov byte [esp + 0x13], dl
cmp ebp, ecx
jge 0x453ac8
movzx eax, word [ebx + 0x2a]
cmp ebp, eax
jl 0x453ac8
mov esi, dword [ebx + 0x30]
mov eax, dword [esp + 0x80]
mov edx, dword [esi + ebp*4]
movzx ecx, word [edx + 0xc]
and eax, ecx
test ax, ax
je 0x453a94
mov eax, dword [esp + 0x18]
test ecx, 0x180
push 0
pop ecx
movzx eax, al
cmove ecx, eax
xor edx, edx
mov byte [esp + 0x18], cl
inc edx
jmp 0x453d91
xor eax, eax
inc eax
test al, cl
movzx ecx, word [ebx + 0x18]
je 0x453ac4
mov edi, dword [edx]
lea edx, [ebp + 1]
cmp edx, ecx
jge 0x453ac4
lea ecx, [esi + 4]
movzx esi, word [ebx + 0x18]
lea ecx, [ecx + ebp*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x453af9
inc edx
add ecx, 4
cmp edx, esi
jl 0x453ab2
movzx ecx, word [ebx + 0x18]
mov dl, byte [esp + 0x13]
xor eax, eax
mov edi, dword [esp + 0x40]
test edi, edi
je 0x453b07
mov eax, dword [edi + 4]
movsx esi, word [eax + ebp*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], esi
mov dh, byte [eax + ebp]
xor eax, eax
inc eax
and dh, al
mov eax, dword [edi + 0xc]
mov byte [esp + 0x1c], dh
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x453b12
jmp 0x453b0b
movzx ecx, word [ebx + 0x18]
xor eax, eax
mov dl, al
mov byte [esp + 0x13], al
jmp 0x453aca
mov byte [esp + 0x1c], al
or esi, 0xffffffff
mov dword [esp + 0x24], esi
cmp byte [esp + 0x18], 0
je 0x453b4a
test esi, esi
js 0x453b4a
cmp ebp, ecx
jl 0x453b4a
mov eax, dword [edi + 0xc]
mov ecx, esi
mov ebx, dword [esp + 0x18]
add ecx, ecx
movzx ebx, bl
xor esi, esi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
mov eax, ebx
mov ebx, dword [esp + 0x28]
cmove eax, esi
mov dword [esp + 0x18], eax
xor eax, eax
mov edi, eax
test dl, dl
je 0x453c60
mov esi, dword [esp + 0x38]
add esi, 4
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x2c]
movzx eax, cx
cmp edi, eax
jge 0x453c60
xor ecx, ecx
xor edx, edx
lea eax, [ecx + edi]
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x14]
or edx, ecx
jne 0x453ce0
mov ecx, dword [esi]
call fcn.00429723
mov dl, byte [esp + 0x13]
mov ecx, eax
mov al, byte [esp + 0x90]
and al, 0xc0
neg al
sbb al, al
and dl, al
cmp dword [esp + 0x24], 0xffffffff
mov al, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x1f], al
jl 0x453c7e
cmp byte [ecx], 0xa2
jne 0x453ce4
mov esi, dword [esp + 0x50]
cmp dword [ecx + 0x18], esi
mov esi, dword [esp + 0x44]
mov byte [esp + 0x13], dl
jne 0x453ce4
movsx eax, word [ecx + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x13], dl
cmp eax, ecx
jne 0x453ce4
cmp ecx, 0xffffffff
jne 0x453c9f
cmp word [esp + 0x70], 0
je 0x453c13
lea eax, [ebp + 1]
mov word [ebx + 0x1e], ax
mov esi, dword [esp + 0x38]
xor edx, edx
inc edx
test byte [esp + 0x90], 0x40
mov cl, dl
mov byte [esp + 0x1f], cl
jne 0x453d3a
mov dh, byte [esp + 0x1e]
imul eax, edi, 0x18
mov al, byte [eax + esi + 0x10]
and al, dl
test dh, dh
je 0x453cf9
mov ch, byte [esp + 0x1d]
mov dl, byte [esp + 0x1c]
xor dl, ch
mov byte [esp + 0x1d], ch
cmp dl, al
mov byte [esp + 0x1e], dh
sete cl
je 0x453d37
test ebp, ebp
je 0x453c73
mov eax, dword [esp + 0x68]
movzx eax, ax
cmp ebp, eax
jge 0x453da1
xor edx, edx
mov byte [esp + 0x18], dl
jmp 0x453da3
mov eax, dword [esp + 0x40]
push dword [esp + 0x50]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.0042e335
pop ecx
test eax, eax
jne 0x453ce0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00429749
test eax, eax
jne 0x453cbb
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov dl, byte [esp + 0x1f]
mov byte [esp + 0x13], dl
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + ebp*4]
call fcn.00406f6f
test eax, eax
je 0x453c04
mov esi, dword [esp + 0x44]
mov dl, byte [esp + 0x13]
add esi, 0x18
inc edi
mov dword [esp + 0x44], esi
test dl, dl
jne 0x453b61
jmp 0x453c60
mov dl, al
xor dl, byte [esp + 0x1c]
mov byte [esp + 0x1d], dl
je 0x453d30
mov eax, dword [esp + 0x30]
xor ecx, ecx
add eax, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x9c]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov cl, byte [esp + 0x1f]
xor eax, eax
inc eax
mov byte [esp + 0x1e], al
xor edx, edx
inc edx
imul eax, edi, 0x18
test byte [eax + esi + 0x10], 2
je 0x453d5f
movzx eax, word [ebx + 0x18]
cmp ebp, eax
jne 0x453c60
or dword [ebx + 0x24], 0x80000
test cl, cl
je 0x453c60
cmp dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x34]
movzx eax, al
cmove eax, edx
xor ecx, ecx
mov dword [esp + 0x34], eax
xor eax, eax
add edi, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x20], eax
or dword [esp + 0x14], ecx
add dword [esp + 0x54], 0x18
inc ebp
cmp ebp, dword [esp + 0x78]
jl 0x453a49
xor edx, edx
cmp byte [esp + 0x34], 0
je 0x453db5
xor eax, eax
inc eax
mov byte [esp + 0x18], al
jmp 0x453dc0
xor edx, edx
cmp byte [esp + 0x18], 0
je 0x453e8d
mov eax, dword [esp + 0x58]
or eax, dword [ebx + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
or eax, dword [ebx + 0xc]
mov ebx, edx
mov dword [esp + 0x5c], eax
movzx eax, cx
test eax, eax
je 0x453e89
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
add ebp, 4
xor ecx, ecx
xor esi, esi
xor edi, edi
lea eax, [ecx + ebx]
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x20]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x453e76
mov eax, dword [ebp]
mov edx, eax
mov ecx, dword [esp + 0x3c]
add ecx, 0x1e8
mov dword [esp + 0x78], eax
call fcn.00450231
mov ecx, edx
mov dword [esp + 0x70], eax
or eax, ecx
mov dword [esp + 0x68], ecx
jne 0x453e52
mov ecx, dword [esp + 0x78]
lea edx, [eax + 1]
push eax
call fcn.0042aefd
pop ecx
test eax, eax
je 0x453e72
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
not ecx
and ecx, dword [esp + 0x70]
not eax
and eax, dword [esp + 0x68]
or ecx, eax
jne 0x453e72
or dword [esp + 0x20], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc ebx
movzx eax, cx
add ebp, 0x18
cmp ebx, eax
jl 0x453df2
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
inc dword [esp + 0x30]
test cl, cl
jne 0x4537d4
cmp esi, edx
jne 0x453ec1
cmp ebp, edi
jne 0x453ec1
mov al, byte [esp + 0x2c]
jmp 0x453f16
cmp byte [ebx + 0x1d], 0
jne 0x453eb5
test cl, cl
jne 0x453f10
mov ecx, dword [esp + 0x2c]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x453f14
xor ecx, ecx
xor edx, edx
lea eax, [ecx + ebx]
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, ebp
cmp eax, ecx
jne 0x453f01
cmp esi, edx
je 0x453f0c
dec ebx
test ebx, ebx
jle 0x453f14
mov esi, dword [esp + 0x20]
jmp 0x453ed3
mov al, bl
jmp 0x453f16
or al, 0xff
jmp 0x453f16
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret