Function at 0x4539fa
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 0x453a30
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x45421b
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
cmp eax, 0x3f
ja 0x45421b
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 0x4541b4
jb 0x453aed
cmp esi, edx
jae 0x4541b6
movzx eax, word [esp + 0x94]
cmp dword [esp + 0x30], eax
jg 0x4541c8
cmp dword [esp + 0x30], 0
jle 0x453b20
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 0x453b4a
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 0x4541a8
jmp 0x453b55
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 0x24]
test edx, 0x400
jne 0x4541c2
mov eax, dword [esp + 0x90]
and eax, 0x80
mov dword [esp + 0x70], eax
je 0x453b7c
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 0x453cc5
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 0x453c9d
mov ecx, dword [edx]
call fcn.00429a2b
mov ebx, eax
cmp byte [ebx], 0xa2
jne 0x453c9d
mov edx, dword [esp + 0x50]
cmp dword [ebx + 0x18], edx
jne 0x453c9d
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.00450aba
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x453c99
movzx ecx, word [ebp + 0xc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x453c63
mov edx, dword [esp + 0x28]
xor eax, eax
movzx edx, word [edx + 0x28]
test edx, edx
je 0x453c5f
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
cmp ebp, dword [ecx]
je 0x453c5b
inc eax
add ecx, 4
cmp eax, edx
jl 0x453c4f
movzx ecx, word [ebp + 0xc]
cmp eax, edx
jge 0x453c99
test cl, 0x82
je 0x453c89
xor eax, eax
cmp word [ebx + 0x1c], ax
jl 0x453c89
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push dword [ebp]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.00429b83
pop ecx
test eax, eax
je 0x453c99
mov ebp, dword [esp + 0x14]
or dword [esp + 0x20], esi
or ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x453c9d
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 0x453bae
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x24]
test edx, 0x1000
jne 0x4540ba
test edx, 0x100
je 0x453ce6
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
inc eax
jmp 0x453d20
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x45421b
test byte [ecx + 0x38], 4
jne 0x45421b
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 0x34]
je 0x453d24
test edx, 0x8000
jne 0x453d24
xor ecx, ecx
inc ecx
mov byte [esp + 0x18], cl
xor ecx, ecx
jmp 0x453d2a
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 0x4540bc
mov dword [esp + 0x54], edx
inc edx
movzx ecx, word [ebx + 0x18]
mov byte [esp + 0x13], dl
cmp ebp, ecx
jge 0x453dcf
movzx eax, word [ebx + 0x2a]
cmp ebp, eax
jl 0x453dcf
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 0x453d9b
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 0x454098
xor eax, eax
inc eax
test al, cl
movzx ecx, word [ebx + 0x18]
je 0x453dcb
mov edi, dword [edx]
lea edx, [ebp + 1]
cmp edx, ecx
jge 0x453dcb
lea ecx, [esi + 4]
movzx esi, word [ebx + 0x18]
lea ecx, [ecx + ebp*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x453e00
inc edx
add ecx, 4
cmp edx, esi
jl 0x453db9
movzx ecx, word [ebx + 0x18]
mov dl, byte [esp + 0x13]
xor eax, eax
mov edi, dword [esp + 0x40]
test edi, edi
je 0x453e0e
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 0x453e19
jmp 0x453e12
movzx ecx, word [ebx + 0x18]
xor eax, eax
mov dl, al
mov byte [esp + 0x13], al
jmp 0x453dd1
mov byte [esp + 0x1c], al
or esi, 0xffffffff
mov dword [esp + 0x24], esi
cmp byte [esp + 0x18], 0
je 0x453e51
test esi, esi
js 0x453e51
cmp ebp, ecx
jl 0x453e51
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 0x453f67
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 0x453f67
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 0x453fe7
mov ecx, dword [esi]
call fcn.00429a2b
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 0x453f85
cmp byte [ecx], 0xa2
jne 0x453feb
mov esi, dword [esp + 0x50]
cmp dword [ecx + 0x18], esi
mov esi, dword [esp + 0x44]
mov byte [esp + 0x13], dl
jne 0x453feb
movsx eax, word [ecx + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x13], dl
cmp eax, ecx
jne 0x453feb
cmp ecx, 0xffffffff
jne 0x453fa6
cmp word [esp + 0x70], 0
je 0x453f1a
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 0x454041
mov dh, byte [esp + 0x1e]
imul eax, edi, 0x18
mov al, byte [eax + esi + 0x10]
and al, dl
test dh, dh
je 0x454000
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 0x45403e
test ebp, ebp
je 0x453f7a
mov eax, dword [esp + 0x68]
movzx eax, ax
cmp ebp, eax
jge 0x4540a8
xor edx, edx
mov byte [esp + 0x18], dl
jmp 0x4540aa
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.0042e63d
pop ecx
test eax, eax
jne 0x453fe7
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00429a51
test eax, eax
jne 0x453fc2
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.0040727a
test eax, eax
je 0x453f0b
mov esi, dword [esp + 0x44]
mov dl, byte [esp + 0x13]
add esi, 0x18
inc edi
mov dword [esp + 0x44], esi
test dl, dl
jne 0x453e68
jmp 0x453f67
mov dl, al
xor dl, byte [esp + 0x1c]
mov byte [esp + 0x1d], dl
je 0x454037
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 0x454066
movzx eax, word [ebx + 0x18]
cmp ebp, eax
jne 0x453f67
or dword [ebx + 0x24], 0x80000
test cl, cl
je 0x453f67
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 0x453d50
xor edx, edx
cmp byte [esp + 0x34], 0
je 0x4540bc
xor eax, eax
inc eax
mov byte [esp + 0x18], al
jmp 0x4540c7
xor edx, edx
cmp byte [esp + 0x18], 0
je 0x454194
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 0x454190
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 0x45417d
mov eax, dword [ebp]
mov edx, eax
mov ecx, dword [esp + 0x3c]
add ecx, 0x1e8
mov dword [esp + 0x78], eax
call fcn.00450538
mov ecx, edx
mov dword [esp + 0x70], eax
or eax, ecx
mov dword [esp + 0x68], ecx
jne 0x454159
mov ecx, dword [esp + 0x78]
lea edx, [eax + 1]
push eax
call fcn.0042b205
pop ecx
test eax, eax
je 0x454179
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 0x454179
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 0x4540f9
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 0x453adb
cmp esi, edx
jne 0x4541c8
cmp ebp, edi
jne 0x4541c8
mov al, byte [esp + 0x2c]
jmp 0x45421d
cmp byte [ebx + 0x1d], 0
jne 0x4541bc
test cl, cl
jne 0x454217
mov ecx, dword [esp + 0x2c]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45421b
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 0x454208
cmp esi, edx
je 0x454213
dec ebx
test ebx, ebx
jle 0x45421b
mov esi, dword [esp + 0x20]
jmp 0x4541da
mov al, bl
jmp 0x45421d
or al, 0xff
jmp 0x45421d
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret