Function at 0x455731
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 0x455767
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x455f52
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
cmp eax, 0x3f
ja 0x455f52
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 0x455eeb
jb 0x455824
cmp esi, edx
jae 0x455eed
movzx eax, word [esp + 0x94]
cmp dword [esp + 0x30], eax
jg 0x455eff
cmp dword [esp + 0x30], 0
jle 0x455857
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 0x455881
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 0x455edf
jmp 0x45588c
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 0x24]
test edx, 0x400
jne 0x455ef9
mov eax, dword [esp + 0x90]
and eax, 0x80
mov dword [esp + 0x70], eax
je 0x4558b3
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 0x4559fc
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 0x4559d4
mov ecx, dword [edx]
call fcn.0042abaa
mov ebx, eax
cmp byte [ebx], 0xa2
jne 0x4559d4
mov edx, dword [esp + 0x50]
cmp dword [ebx + 0x18], edx
jne 0x4559d4
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.0045275f
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x4559d0
movzx ecx, word [ebp + 0xc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x45599a
mov edx, dword [esp + 0x28]
xor eax, eax
movzx edx, word [edx + 0x28]
test edx, edx
je 0x455996
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
cmp ebp, dword [ecx]
je 0x455992
inc eax
add ecx, 4
cmp eax, edx
jl 0x455986
movzx ecx, word [ebp + 0xc]
cmp eax, edx
jge 0x4559d0
test cl, 0x82
je 0x4559c0
xor eax, eax
cmp word [ebx + 0x1c], ax
jl 0x4559c0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push dword [ebp]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.0042ad04
pop ecx
test eax, eax
je 0x4559d0
mov ebp, dword [esp + 0x14]
or dword [esp + 0x20], esi
or ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x4559d4
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 0x4558e5
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x24]
test edx, 0x1000
jne 0x455df1
test edx, 0x100
je 0x455a1d
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
inc eax
jmp 0x455a57
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x455f52
test byte [ecx + 0x38], 4
jne 0x455f52
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x68], eax
movzx eax, word [ecx + 0x34]
je 0x455a5b
test edx, 0x8000
jne 0x455a5b
xor ecx, ecx
inc ecx
mov byte [esp + 0x18], cl
xor ecx, ecx
jmp 0x455a61
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 0x455df3
mov dword [esp + 0x54], edx
inc edx
movzx ecx, word [ebx + 0x18]
mov byte [esp + 0x13], dl
cmp ebp, ecx
jge 0x455b06
movzx eax, word [ebx + 0x2a]
cmp ebp, eax
jl 0x455b06
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 0x455ad2
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 0x455dcf
xor eax, eax
inc eax
test al, cl
movzx ecx, word [ebx + 0x18]
je 0x455b02
mov edi, dword [edx]
lea edx, [ebp + 1]
cmp edx, ecx
jge 0x455b02
lea ecx, [esi + 4]
movzx esi, word [ebx + 0x18]
lea ecx, [ecx + ebp*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x455b37
inc edx
add ecx, 4
cmp edx, esi
jl 0x455af0
movzx ecx, word [ebx + 0x18]
mov dl, byte [esp + 0x13]
xor eax, eax
mov edi, dword [esp + 0x40]
test edi, edi
je 0x455b45
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 0x455b50
jmp 0x455b49
movzx ecx, word [ebx + 0x18]
xor eax, eax
mov dl, al
mov byte [esp + 0x13], al
jmp 0x455b08
mov byte [esp + 0x1c], al
or esi, 0xffffffff
mov dword [esp + 0x24], esi
cmp byte [esp + 0x18], 0
je 0x455b88
test esi, esi
js 0x455b88
cmp ebp, ecx
jl 0x455b88
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 0x455c9e
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 0x455c9e
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 0x455d1e
mov ecx, dword [esi]
call fcn.0042abaa
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 0x455cbc
cmp byte [ecx], 0xa2
jne 0x455d22
mov esi, dword [esp + 0x50]
cmp dword [ecx + 0x18], esi
mov esi, dword [esp + 0x44]
mov byte [esp + 0x13], dl
jne 0x455d22
movsx eax, word [ecx + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x13], dl
cmp eax, ecx
jne 0x455d22
cmp ecx, 0xffffffff
jne 0x455cdd
cmp word [esp + 0x70], 0
je 0x455c51
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 0x455d78
mov dh, byte [esp + 0x1e]
imul eax, edi, 0x18
mov al, byte [eax + esi + 0x10]
and al, dl
test dh, dh
je 0x455d37
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 0x455d75
test ebp, ebp
je 0x455cb1
mov eax, dword [esp + 0x68]
movzx eax, ax
cmp ebp, eax
jge 0x455ddf
xor edx, edx
mov byte [esp + 0x18], dl
jmp 0x455de1
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.0042f950
pop ecx
test eax, eax
jne 0x455d1e
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.0042abd0
test eax, eax
jne 0x455cf9
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.00406f32
test eax, eax
je 0x455c42
mov esi, dword [esp + 0x44]
mov dl, byte [esp + 0x13]
add esi, 0x18
inc edi
mov dword [esp + 0x44], esi
test dl, dl
jne 0x455b9f
jmp 0x455c9e
mov dl, al
xor dl, byte [esp + 0x1c]
mov byte [esp + 0x1d], dl
je 0x455d6e
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 0x455d9d
movzx eax, word [ebx + 0x18]
cmp ebp, eax
jne 0x455c9e
or dword [ebx + 0x24], 0x80000
test cl, cl
je 0x455c9e
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 0x455a87
xor edx, edx
cmp byte [esp + 0x34], 0
je 0x455df3
xor eax, eax
inc eax
mov byte [esp + 0x18], al
jmp 0x455dfe
xor edx, edx
cmp byte [esp + 0x18], 0
je 0x455ecb
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 0x455ec7
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 0x455eb4
mov eax, dword [ebp]
mov edx, eax
mov ecx, dword [esp + 0x3c]
add ecx, 0x1e8
mov dword [esp + 0x78], eax
call fcn.004521dd
mov ecx, edx
mov dword [esp + 0x70], eax
or eax, ecx
mov dword [esp + 0x68], ecx
jne 0x455e90
mov ecx, dword [esp + 0x78]
lea edx, [eax + 1]
push eax
call fcn.0042c3df
pop ecx
test eax, eax
je 0x455eb0
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 0x455eb0
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 0x455e30
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 0x455812
cmp esi, edx
jne 0x455eff
cmp ebp, edi
jne 0x455eff
mov al, byte [esp + 0x2c]
jmp 0x455f54
cmp byte [ebx + 0x1d], 0
jne 0x455ef3
test cl, cl
jne 0x455f4e
mov ecx, dword [esp + 0x2c]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x455f52
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 0x455f3f
cmp esi, edx
je 0x455f4a
dec ebx
test ebx, ebx
jle 0x455f52
mov esi, dword [esp + 0x20]
jmp 0x455f11
mov al, bl
jmp 0x455f54
or al, 0xff
jmp 0x455f54
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret