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

Disassembly:
push ecx
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call 0x5299c0
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffd2
jne 0x46ba92
mov ecx, 0x73433c
call fcn.0046afc0
mov ecx, eax
call fcn.0047cd70
test eax, eax
jne 0x46ba90
push 4
call fcn.00553354
push 0
mov esi, eax
push 0x80000
push 0x8000
mov dword [esp + 0x14], esi
call fcn.00547c00
add esp, 0x10
mov dword [esi], eax
mov ecx, 0x73433c
call fcn.0046afc0
push esi
mov ecx, eax
call fcn.0047cee0
pop esi
add esp, 4
jmp 0x5299c0
mov eax, esi
pop esi
pop ecx
ret
sub esp, 0x164
mov eax, dword [0x732480]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x190]
mov eax, dword [esp + 0x18c]
mov ebp, dword [esp + 0x17c]
xor ebx, ebx
mov esi, dword [esp + 0x178]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x60], 0
mov edi, dword [esp + 0x184]
mov dword [esp + 0x34], edi
test ebp, ebp
jne 0x529a62
test ecx, ecx
mov eax, 0x58bc90
cmovne eax, ebp
mov ebp, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test dword [esp + 0x188], 0x1fff9fc0
jne 0x52ad89
test esi, esi
je 0x52ad82
test ebp, ebp
je 0x52ad82
test eax, eax
je 0x52ad82
lea esi, [edi*2]
add esi, ebp
mov dword [esp + 0x2c], esi
lea eax, [esi - 2]
mov dword [esp + 0x68], eax
cmp ecx, 0xffffffff
jne 0x529abf
push ebp
call fcn.0054cf30
mov edx, dword [esp + 0x40]
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], 1
lea eax, [ecx*2]
add eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], eax
cmp edi, ecx
jbe 0x529ade
mov eax, 0xffffffdf
jmp 0x52ad8e
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x38], 0x50435245
je 0x529af5
mov eax, 0xffffffe1
jmp 0x52ad8e
mov ecx, dword [ebp + 0x48]
mov eax, ecx
and al, 7
cmp al, 2
je 0x529b0a
mov eax, 0xffffffe0
jmp 0x52ad8e
mov eax, dword [esp + 0x188]
shr ecx, 0xe
and ecx, 0xc
or eax, ecx
mov dword [esp + 0x188], eax
cmp dword [ebp + 0x10], ebx
je 0x529b33
test eax, 0xbfffbfc0
jne 0x529b33
mov edi, 1
jmp 0x529b35
xor edi, edi
mov ecx, dword [ebp + 0x40]
mov eax, ecx
shr eax, 0x13
and eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x188]
test al, 0x20
je 0x529b5a
mov eax, 2
jmp 0x529b60
shr eax, 4
and eax, 1
movzx eax, ax
mov word [esp + 0x108], ax
test ax, ax
je 0x529b84
mov eax, ecx
or eax, dword [esp + 0x188]
test eax, 0x20000000
jne 0x52ad89
test edx, edx
je 0x529ba0
cmp dword [edx + 0x24], 0xffffffff
je 0x529ba0
test ecx, 0x800000
jne 0x529ba0
mov eax, 0xffffffc8
jmp 0x52ad8e
mov edx, dword [esp + 0x20]
test byte [edx + 0x2d], 1
je 0x529bc4
push dword [edx + 8]
mov eax, dword [edx + 4]
push dword [edx + 0x10]
call eax
mov edx, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x1c]
and byte [edx + 0x2d], 0xfe
mov dword [edx + 0x10], ebx
lea ebp, [edx + 0x28]
mov dword [ebp], ebx
mov dword [esp + 0x48], 0xfc00
mov dword [esp + 0x4c], 0xdc00
test edi, edi
je 0x529d26
cmp dword [esp + 0x18], ebx
je 0x529caa
test dword [esp + 0x188], 0x40000000
jne 0x529caa
test ecx, 0x4000000
jne 0x529caa
mov ebx, 0xfc00
mov edi, 0xdc00
cmp esi, dword [esp + 0x10]
jae 0x529c3a
mov ax, word [esi]
and ax, bx
cmp ax, di
jne 0x529c3a
xor eax, eax
cmp eax, dword [esp + 0x34]
sbb eax, eax
and eax, 0xfffffff6
add eax, 0xffffffe6
jmp 0x52ad8e
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
movzx ecx, word [eax + 0x64]
test ecx, ecx
je 0x529c7b
nop word [eax + eax]
cmp esi, edx
jbe 0x529c77
sub esi, 2
cmp esi, edx
jbe 0x529c72
nop dword [eax + eax]
mov ax, word [esi]
and ax, bx
cmp ax, di
jne 0x529c72
sub esi, 2
cmp esi, edx
ja 0x529c60
sub ecx, 1
jne 0x529c50
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x28]
mov edi, esi
sub edi, edx
sar edi, 1
push ebp
sub eax, edi
push eax
push esi
call fcn.00550330
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [edx + 0x30], eax
test eax, eax
je 0x529ca5
add dword [edx + 0x28], edi
jmp 0x52ad8e
mov ebx, 1
push dword [esp + 0x3c]
push edx
push dword [esp + 0x190]
push dword [esp + 0x40]
push dword [esp + 0x38]
push dword [esp + 0x28]
push dword [esp + 0x3c]
call fcn.00547a40
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffd3
je 0x529d26
test edi, edi
js 0x529d1f
test dword [esp + 0x188], 0x4000
je 0x529d1f
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
lea esi, [esi + ecx]
push dword [ebx + 8]
mov eax, dword [ebx]
add esi, esi
push esi
call eax
add esp, 8
mov dword [ebx + 0x10], eax
test eax, eax
je 0x52a1ac
push esi
push dword [esp + 0x18]
push eax
call fcn.00554ff0
add esp, 0xc
or byte [ebx + 0x2d], 1
mov eax, edi
jmp 0x52ad8e
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x11c], edi
je 0x529ef6
test ebx, ebx
jne 0x529ef6
test dword [esp + 0x188], 0x40000000
mov ebx, dword [esp + 0x1c]
je 0x529d61
test ebx, 0x4000000
je 0x529ef6
mov edx, dword [esp + 0x10]
mov eax, ebx
xor ecx, ecx
and eax, 0x4000000
cmp esi, edx
jae 0x529dba
test eax, eax
je 0x529da1
nop word [eax + eax]
mov ax, word [esi]
and ax, word [esp + 0x48]
cmp ax, word [esp + 0x4c]
jne 0x529dba
add esi, 2
mov ecx, 1
mov dword [esp + 0x2c], esi
cmp esi, edx
jb 0x529d80
jmp 0x529dba
mov ax, word [esi]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
je 0x529c27
mov edx, esi
mov dword [esp + 0x11c], edx
test ecx, ecx
jne 0x529e12
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x64]
test ecx, ecx
je 0x529e12
cmp edx, edi
jbe 0x529e12
sub edx, 2
mov dword [esp + 0x11c], edx
cmp edx, edi
jbe 0x529e0d
nop word [eax + eax]
mov ax, word [edx]
and ax, word [esp + 0x48]
cmp ax, word [esp + 0x4c]
jne 0x529e0d
sub edx, 2
mov dword [esp + 0x11c], edx
cmp edx, edi
ja 0x529df0
sub ecx, 1
jne 0x529dd3
mov eax, dword [esp + 0x28]
mov ecx, edx
sub ecx, edi
sar ecx, 1
push ebp
sub eax, ecx
push eax
push edx
call fcn.00550330
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [eax + 0x30], edx
test edx, edx
je 0x529ef6
lea edi, [eax + 0x28]
nop dword [eax]
mov ecx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x14]
sub ecx, ebp
mov eax, dword [edi]
sar ecx, 1
add eax, ecx
mov dword [edi], eax
test ebx, 0x4000000
je 0x529eef
test edx, edx
jg 0x529eef
lea ebp, [ebp + eax*2]
mov dword [esp + 0x10], ebp
cmp ebp, esi
jae 0x529ee1
lea edx, [ebp + 2]
mov dword [esp + 0x11c], edx
cmp edx, esi
jae 0x529ea9
mov ecx, 0xfc00
mov ebp, 0xdc00
nop dword [eax]
mov ax, word [edx]
and ax, cx
cmp ax, bp
jne 0x529ea9
add edx, 2
mov dword [esp + 0x11c], edx
cmp edx, esi
jb 0x529e90
mov eax, dword [esp + 0x28]
mov ecx, edx
sub ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x5c]
sar ecx, 1
push edi
sub eax, ecx
mov dword [esp + 0x14], ebp
push eax
push edx
call fcn.00550330
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [eax + 0x30], edx
test edx, edx
jne 0x529e40
mov edi, dword [esp + 0x14]
jmp 0x529efa
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], 2
jmp 0x529efa
mov eax, edx
jmp 0x52ad8e
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x529f0f
mov eax, dword [esp + 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
jmp 0x529f16
movq xmm0, qword [ecx]
mov eax, dword [ecx + 8]
test ecx, ecx
mov dword [esp + 0xd4], eax
mov ebx, 0x6d5b04
movq qword [esp + 0xcc], xmm0
cmovne ebx, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x40]
mov eax, edx
or eax, dword [esp + 0x188]
mov ecx, dword [ecx + 0x48]
shr eax, 0x1f
mov dword [esp + 0x48], eax
mov eax, edx
shr eax, 8
and eax, 1
mov dword [esp + 0x70], eax
mov eax, ecx
shr eax, 9
and eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
jne 0x529f70
mov eax, dword [esp + 0x5c]
jmp 0x529f73
lea eax, [edi + eax*2]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x164], eax
mov eax, ebp
mov ebp, dword [esp + 0x34]
sub eax, edi
sar eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x16c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x120], eax
mov eax, ecx
shr eax, 0xc
and eax, 1
mov dword [esp + 0x8c], 2
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xc8], 0
mov dword [esp + 0x118], edi
cmp word [eax + 0x64], 0
mov dword [esp + 0x100], ebp
ja 0x52a006
test ecx, 0x2000
jne 0x52a006
xor eax, eax
jmp 0x52a00b
mov eax, 1
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x148], edx
mov dword [esp + 0x150], 0
mov dword [esp + 0x134], 0
movzx edx, word [eax + 0x6e]
lea edi, [eax + 0x70]
movzx eax, word [eax + 0x6c]
mov word [esp + 0x10e], ax
imul eax, edx
mov dword [esp + 0x110], edi
mov dword [esp + 0x130], 0
mov word [esp + 0x10c], dx
mov dword [esp + 0x154], 0
lea eax, [edi + eax*2]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x114], eax
mov ax, word [edi + 0x60]
mov word [esp + 0x10a], ax
movzx eax, word [edi + 0x62]
dec eax
cmp eax, 5
ja case.default.0x52a096
jmp dword [eax*4 + 0x52ada8]
mov eax, 0xd
mov dword [esp + 0x158], 1
mov word [esp + 0x15c], ax
jmp 0x52a118
mov eax, 0xa
mov dword [esp + 0x158], 1
mov word [esp + 0x15c], ax
jmp 0x52a118
xor eax, eax
mov dword [esp + 0x158], 1
mov word [esp + 0x15c], ax
jmp 0x52a118
mov dword [esp + 0x158], 2
mov dword [esp + 0x15c], 0xa000d
jmp 0x52a118
mov dword [esp + 0x154], 1
jmp 0x52a118
mov dword [esp + 0x154], 2
movzx eax, word [edi + 0x68]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
lea eax, [eax*8 + 0x57]
and eax, 0xfffffffc
cmp edx, dword [edi + 0x4c]
mov dword [esp + 0x3c], eax
cmovae edx, dword [edi + 0x4c]
shl edx, 0xa
cmp ecx, dword [edi + 0x50]
mov dword [esp + 0xd8], edx
cmovae ecx, dword [edi + 0x50]
mov dword [esp + 0xdc], ecx
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [edi + 0x54]
cmovae ecx, dword [edi + 0x54]
lea edi, [eax + eax*4]
add edi, edi
mov dword [esp + 0xe0], ecx
mov ecx, 0x5000
cmp edi, ecx
cmovb edi, ecx
cmp edi, edx
jbe 0x52a183
cmp eax, edx
jbe 0x52a181
mov eax, 0xffffffc1
jmp 0x52ad8e
mov edi, edx
mov ebx, dword [esp + 0x20]
cmp dword [ebx + 0x1c], edi
jae 0x52a1bd
push dword [ebx + 8]
mov eax, dword [ebx + 4]
push dword [ebx + 0x18]
call eax
push dword [ebx + 8]
mov eax, dword [ebx]
push edi
call eax
add esp, 0x10
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x52a1b6
mov dword [ebx + 0x1c], eax
mov eax, 0xffffffd0
jmp 0x52ad8e
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x1c], edi
add eax, 0xffffffac
push eax
mov eax, dword [ebx + 0x18]
add eax, 0x54
push 0xff
push eax
call fcn.005555a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x34], 0xff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0xf4], eax
lea edi, [eax + 0x100]
add eax, 0x340
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], eax
test dl, 0x10
je 0x52a2a6
movzx ebx, word [ecx + 0x58]
movzx eax, bx
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], eax
test dl, 0x20
je 0x52a2bf
mov ecx, 0xff
cmp bx, cx
ja 0x52a24f
movzx eax, bx
movzx eax, byte [eax + edi]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
cmp ax, 0x7f
jbe 0x52a2bf
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x52a263
test ebx, 0x20000
je 0x52a2c7
movzx ecx, ax
mov eax, ecx
shr eax, 7
movzx eax, word [eax*2 + 0x6dcaf8]
shl eax, 7
and ecx, 0x8000007f
jns 0x52a283
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x6e0ef8]
lea eax, [eax + eax*2]
mov ax, word [eax*4 + 0x6d88ec]
add ax, word [esp + 0x38]
movzx ecx, ax
mov dword [esp + 0x40], ecx
jmp 0x52a2c3
cmp dword [esp + 0x4c], 0
jne 0x52a2bf
mov ebx, dword [esp + 0x1c]
test dl, 0x40
je 0x52a2c3
add ecx, 0x14
mov dword [esp + 0x50], ecx
jmp 0x52a2c3
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
movzx esi, ax
mov eax, dword [esp + 0x38]
movzx eax, ax
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
test dl, dl
jns 0x52a37b
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], 1
movzx eax, word [eax + 0x5c]
mov dword [esp + 0x30], eax
movzx eax, ax
mov dword [esp + 0x44], eax
test edx, 0x100
je 0x52a37d
mov edx, dword [esp + 0x30]
cmp dx, word [esp + 0x34]
ja 0x52a32c
movzx eax, dx
movzx eax, byte [eax + edi]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
cmp ax, 0x7f
jbe 0x52a37d
test ecx, ecx
jne 0x52a338
test ebx, 0x20000
je 0x52a37d
movzx ecx, ax
mov eax, ecx
shr eax, 7
movzx eax, word [eax*2 + 0x6dcaf8]
shl eax, 7
and ecx, 0x8000007f
jns 0x52a358
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x6e0ef8]
lea eax, [eax + eax*2]
mov ax, word [eax*4 + 0x6d88ec]
add ax, word [esp + 0x44]
movzx eax, ax
mov dword [esp + 0x30], eax
jmp 0x52a37d
xor eax, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movzx eax, ax
mov dword [esp + 0x80], eax
lea eax, [ebp*2]
mov dword [esp + 0x7c], eax
add eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
add eax, 0x28
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x120]
nop dword [eax]
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x154]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xe8], edi
nop word [eax + eax]
mov ebx, dword [esp + 0x24]
test dword [ebx + 0x40], 0x10000
mov ebx, dword [esp + 0x20]
jne 0x52a9a1
cmp dword [esp + 0x70], 0
je 0x52a56f
mov edi, esi
cmp esi, edx
jae 0x52a569
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x52a4e7
jmp 0x52a427
mov eax, dword [esp + 0x120]
test ebp, ebp
je 0x52a461
cmp edi, eax
jae 0x52a455
push ecx
lea ecx, [esp + 0x15c]
push ecx
push eax
push ebp
push edi
call fcn.0054e9a0
mov ebp, dword [esp + 0x168]
add esp, 0x14
test eax, eax
je 0x52a455
mov eax, 1
jmp 0x52a457
xor eax, eax
test eax, eax
jne 0x52a569
jmp 0x52a4a0
mov edx, dword [esp + 0x158]
mov ecx, dword [esp + 0x120]
lea eax, [edx + edx]
sub ecx, eax
cmp edi, ecx
ja 0x52a4a0
mov ax, word [edi]
cmp ax, word [esp + 0x15c]
jne 0x52a4a0
cmp edx, 1
je 0x52a569
mov ax, word [edi + 2]
cmp ax, word [esp + 0x15e]
je 0x52a569
mov edx, dword [esp + 0x10]
add edi, 2
cmp edi, edx
jae 0x52a569
mov ax, word [edi]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
mov ecx, dword [esp + 0x18]
jne 0x52a420
add edi, 2
cmp edi, edx
jae 0x52a569
jmp 0x52a420
mov eax, dword [esp + 0x120]
test ebp, ebp
je 0x52a51d
cmp edi, eax
jae 0x52a515
push ecx
lea ecx, [esp + 0x15c]
push ecx
push eax
push ebp
push edi
call fcn.0054e9a0
mov ebp, dword [esp + 0x168]
add esp, 0x14
test eax, eax
je 0x52a515
mov eax, 1
jmp 0x52a517
xor eax, eax
test eax, eax
jne 0x52a565
jmp 0x52a554
mov edx, dword [esp + 0x158]
mov ecx, dword [esp + 0x120]
lea eax, [edx + edx]
sub ecx, eax
cmp edi, ecx
ja 0x52a554
mov ax, word [edi]
cmp ax, word [esp + 0x15c]
jne 0x52a554
cmp edx, 1
je 0x52a565
mov ax, word [edi + 2]
cmp ax, word [esp + 0x15e]
je 0x52a565
mov ecx, dword [esp + 0x18]
add edi, 2
cmp edi, dword [esp + 0x10]
jb 0x52a4e0
mov esi, dword [esp + 0x2c]
mov edx, edi
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x48]
test edi, edi
je 0x52a668
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
test ecx, ecx
jne 0x52a58f
test ebp, ebp
je 0x52a8d2
cmp esi, edx
sbb eax, eax
neg eax
cmp esi, edx
jae 0x52a5e2
movzx eax, word [esi]
test ecx, ecx
je 0x52a5b6
cmp ax, word [esp + 0x38]
je 0x52a8d2
cmp ax, word [esp + 0x40]
je 0x52a8d2
test ebp, ebp
je case.0x52aa5f.997
mov ecx, 0xff
cmp ax, cx
cmova eax, ecx
movzx edx, ax
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebp], al
mov eax, 0
setne al
test eax, eax
jne 0x52a8d2
xor ebx, ebx
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x10]
je 0x52ac60
mov ebp, dword [esp + 0x5c]
cmp edx, ebp
je 0x52ac60
test ebx, ebx
je 0x52a614
cmp ebx, 0xfffffffe
jne 0x52ac60
mov ebx, dword [esp + 0x88]
mov edi, 0xdc00
lea esi, [edx + 2]
mov dword [esp + 0x2c], esi
cmp esi, ebp
jae 0x52a64a
mov ecx, 0xfc00
mov ax, word [esi]
and ax, cx
cmp ax, di
jne 0x52abe7
add esi, 2
mov dword [esp + 0x2c], esi
cmp esi, ebp
jb 0x52a630
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x134]
mov byte [edi + 0x2c], 0
mov dword [edi + 0x14], eax
jmp 0x52ad37
cmp dword [esp + 0x54], 0
je 0x52a6cf
cmp esi, edx
jae 0x52a6ac
mov eax, dword [esp + 0x74]
cmp ax, word [esp + 0x78]
je 0x52a69c
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
movzx eax, word [esi]
cmp ax, cx
je 0x52a6ac
cmp ax, bp
je 0x52a6ac
add esi, 2
cmp esi, edx
jb 0x52a686
jmp 0x52a6ac
mov eax, dword [esp + 0x38]
cmp word [esi], ax
je 0x52a6ac
add esi, 2
cmp esi, edx
jb 0x52a6a0
cmp word [esp + 0x108], 0
mov eax, dword [esp + 0x120]
jne 0x52a8d9
cmp esi, eax
jae case.0x52aa5f.997
jmp 0x52a8d9
cmp dword [esp + 0x4c], 0
je 0x52a888
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x118]
add eax, ebx
cmp esi, eax
jbe 0x52a8ce
cmp esi, edx
jae 0x52a743
mov eax, dword [esp + 0x18]
test eax, eax
je 0x52a7f2
nop
test ebp, ebp
je 0x52a781
cmp esi, ebx
jbe 0x52a735
push eax
lea eax, [esp + 0x15c]
push eax
push ebx
push ebp
push esi
call fcn.0054ea60
mov ebp, dword [esp + 0x168]
add esp, 0x14
mov ebx, dword [esp + 0x118]
test eax, eax
je 0x52a735
mov eax, 1
jmp 0x52a737
xor eax, eax
test eax, eax
je 0x52a7b6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
cmp word [esi - 2], 0xd
jne 0x52a8ce
cmp ebp, 1
je 0x52a75c
cmp ebp, 2
jne 0x52a8ce
cmp esi, edx
jae 0x52a8ce
cmp word [esi], 0xa
mov eax, dword [esp + 0x120]
mov ebx, dword [esp + 0x20]
jne 0x52a8d9
add esi, 2
jmp 0x52a8d9
mov edx, dword [esp + 0x158]
lea edi, [edx + edx]
lea eax, [ebx + edi]
cmp esi, eax
jb 0x52a7b6
mov ecx, esi
sub ecx, edi
mov ax, word [ecx]
cmp ax, word [esp + 0x15c]
jne 0x52a7b6
cmp edx, 1
je 0x52a73b
mov ax, word [ecx + 2]
cmp ax, word [esp + 0x15e]
je 0x52a73b
mov edx, dword [esp + 0x10]
add esi, 2
cmp esi, edx
jae 0x52a73f
mov ax, word [esi]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
mov eax, dword [esp + 0x18]
jne 0x52a700
add esi, 2
cmp esi, edx
jae 0x52a73f
jmp 0x52a700
test ebp, ebp
je 0x52a833
cmp esi, ebx
jbe 0x52a827
push eax
lea eax, [esp + 0x15c]
push eax
push ebx
push ebp
push esi
call fcn.0054ea60
mov ebp, dword [esp + 0x168]
add esp, 0x14
mov ebx, dword [esp + 0x118]
test eax, eax
je 0x52a827
mov eax, 1
jmp 0x52a829
xor eax, eax
test eax, eax
jne 0x52a73b
jmp 0x52a870
mov edx, dword [esp + 0x158]
lea edi, [edx + edx]
lea eax, [ebx + edi]
cmp esi, eax
jb 0x52a870
mov ecx, esi
sub ecx, edi
mov ax, word [ecx]
cmp ax, word [esp + 0x15c]
jne 0x52a870
cmp edx, 1
je 0x52a73b
mov ax, word [ecx + 2]
cmp ax, word [esp + 0x15e]
je 0x52a73b
mov edx, dword [esp + 0x10]
add esi, 2
mov eax, dword [esp + 0x18]
cmp esi, edx
jb 0x52a7f2
jmp 0x52a73f
mov ebp, dword [esp + 0x50]
test ebp, ebp
je 0x52a8d2
cmp esi, edx
jae 0x52a6ac
mov ebx, 0xff
nop dword [eax]
movzx edx, word [esi]
mov eax, 1
cmp edx, ebx
cmova edx, ebx
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebp], al
jne 0x52a8c5
add esi, 2
cmp esi, dword [esp + 0x10]
jb 0x52a8a0
mov ebx, dword [esp + 0x20]
jmp 0x52a6ac
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x120]
cmp word [esp + 0x108], 0
mov edx, eax
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], edx
jne 0x52aa80
movzx eax, word [ebp + 0x66]
sub edx, esi
sar edx, 1
cmp edx, eax
jl case.0x52aa5f.997
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x54]
lea ecx, [esi + eax*2]
je 0x52aa80
cmp ecx, dword [esp + 0x68]
jbe 0x52aa80
cmp edx, 0x7d0
jb 0x52a93a
test edi, edi
jne 0x52aa80
cmp edx, 0x1e8480
jae 0x52aa80
mov edx, dword [esp + 0x120]
cmp ecx, edx
jae case.0x52aa5f.997
mov ebp, dword [esp + 0x30]
movzx eax, bp
mov ebp, dword [esp + 0x44]
cmp word [esp + 0x80], ax
je 0x52aa66
movzx eax, word [ecx]
mov edi, ecx
add ecx, 2
mov edx, eax
cmp ax, bp
je 0x52a986
cmp dx, word [esp + 0x30]
je 0x52a986
cmp ecx, dword [esp + 0x120]
jb 0x52a962
jmp case.0x52aa5f.997
mov edx, dword [esp + 0x120]
cmp edi, edx
jae case.0x52aa5f.997
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
cmp esi, dword [esp + 0x6c]
ja case.0x52aa5f.997
or dword [esp + 0xc8], 1
mov eax, esi
sub eax, ecx
mov dword [esp + 0x128], esi
sar eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x188]
mov dword [esp + 0x144], eax
lea eax, [esp + 0xcc]
push eax
movzx eax, word [ebp + 0x68]
push ebx
push dword [esp + 0x44]
mov dword [esp + 0x138], esi
push eax
push dword [esp + 0x124]
mov dword [esp + 0xf8], 0
push esi
mov dword [esp + 0x11c], 0
mov dword [esp + 0x164], 0
call fcn.0051e550
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0xe8], 0
je 0x52aa46
test edi, edi
jne 0x52aa46
mov eax, dword [esp + 0x128]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], esi
test ebx, ebx
jg case.default.0x52aa5f
je case.0x52aa5f.996
lea eax, [ebx + 0x3e5]
cmp eax, 4
ja case.default.0x52aa5f
jmp dword [eax*4 + 0x52adc0]
mov ax, word [ecx]
mov edi, ecx
add ecx, 2
cmp ax, bp
je 0x52a98d
cmp ecx, edx
jb 0x52aa66
jmp case.0x52aa5f.997
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
jmp 0x52a9a5
mov eax, dword [esp + 0x14c]
mov edi, esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x150], eax
jmp 0x52aae8
mov edi, dword [esp + 0x13c]
cmp edi, esi
jbe case.0x52aa5f.996
mov ecx, dword [esp + 0x18]
jmp 0x52aae8
mov ecx, dword [esp + 0x18]
lea edi, [esi + 2]
mov dword [esp + 0x150], 0
test ecx, ecx
je 0x52aae8
cmp edi, dword [esp + 0x10]
jae 0x52aae8
mov ax, word [edi]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x52aae8
add edi, 2
mov ebp, dword [esp + 0x154]
xor ebx, ebx
cmp dword [esp + 0x70], ebx
je 0x52ab6e
mov eax, dword [esp + 0x120]
test ebp, ebp
je 0x52ab36
cmp esi, eax
jae 0x52ab2a
push ecx
lea ecx, [esp + 0x15c]
push ecx
push eax
push ebp
push esi
call fcn.0054e9a0
mov ebp, dword [esp + 0x168]
add esp, 0x14
test eax, eax
je 0x52ab2a
lea eax, [ebx + 1]
jmp 0x52ab2c
xor eax, eax
test eax, eax
jne case.default.0x52aa5f
jmp 0x52ab6e
mov edx, dword [esp + 0x158]
lea ecx, [edx + edx]
sub eax, ecx
cmp esi, eax
ja 0x52ab6e
mov ax, word [esi]
cmp ax, word [esp + 0x15c]
jne 0x52ab6e
cmp edx, 1
je case.default.0x52aa5f
mov ax, word [esi + 2]
cmp ax, word [esp + 0x15e]
je case.default.0x52aa5f
mov esi, edi
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x48], ebx
jne case.default.0x52aa5f
mov edx, dword [esp + 0x10]
cmp edi, edx
ja case.default.0x52aa5f
cmp edi, dword [esp + 0x84]
jbe 0x52abcc
cmp word [edi - 2], 0xd
jne 0x52abcc
cmp edi, edx
jae 0x52abcc
cmp word [edi], 0xa
jne 0x52abcc
mov eax, dword [esp + 0x24]
test dword [eax + 0x48], 0x800
jne 0x52abcc
cmp ebp, 1
je 0x52abc5
cmp ebp, 2
je 0x52abc5
cmp dword [esp + 0x158], 2
jne 0x52abcc
lea esi, [edi + 2]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x130], ebx
jmp 0x52a3e0
mov eax, dword [esp + 0x28]
mov ecx, esi
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ebx
sub eax, ecx
mov dword [esp + 0x120], esi
push eax
push esi
call fcn.00550330
add esp, 0xc
test eax, eax
je 0x52ac40
mov edx, dword [esp + 0x10]
jns 0x52a620
mov eax, dword [ebx]
lea edx, [esi + eax*2]
mov dword [esp + 0x10], edx
mov eax, edx
mov dword [esp + 0x120], eax
cmp edx, esi
jbe 0x52a620
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], 3
jmp 0x52a3c0
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov eax, ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x120], eax
mov dword [esp + 0x58], 1
jmp 0x52a3c0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x130]
mov dword [edi + 0x14], eax
mov byte [edi + 0x2c], 0
cmp ebx, 1
jne 0x52ad24
movzx eax, word [edi + 0x2e]
mov ecx, dword [esp + 0x104]
add eax, eax
cmp ecx, eax
jl 0x52ac97
xor eax, eax
jmp 0x52ac9f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
inc eax
mov ebx, dword [esp + 0x14]
sub esi, ebx
mov ecx, dword [esp + 0x124]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x128]
sub eax, ebx
sar esi, 1
sar eax, 1
cmp dword [esp + 0x12c], ecx
mov dword [edi + 0x28], esi
cmova ecx, dword [esp + 0x12c]
sub ecx, ebx
mov dword [edi + 0x20], eax
sar ecx, 1
test dword [esp + 0x188], 0x4000
mov dword [edi + 0x24], ecx
je 0x52ad1c
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
push dword [edi + 8]
mov eax, dword [edi]
lea esi, [esi + ecx]
add esi, esi
push esi
call eax
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
je 0x52a1ac
push esi
push ebx
push eax
call fcn.00554ff0
mov eax, dword [edi + 0x30]
add esp, 0xc
or byte [edi + 0x2d], 1
jmp 0x52ad8e
mov eax, dword [edi + 0x30]
mov dword [edi + 0x10], ebx
jmp 0x52ad8e
mov eax, dword [esp + 0x134]
mov dword [edi + 0x14], eax
test ebx, ebx
je 0x52ad37
cmp ebx, 0xfffffffe
jne 0x52ad74
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x52ad71
mov eax, dword [esp + 0x14]
mov ebx, 0xfffffffe
mov ecx, dword [esp + 0x1c]
sub ebp, eax
sub edx, eax
sar ebp, 1
sar edx, 1
sub ecx, eax
sar ecx, 1
mov dword [edi + 0x10], eax
mov eax, ebx
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], edx
mov dword [edi + 0x28], ebp
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov dword [edi + 0x30], ebx
jmp 0x52ad8e
or ebx, 0xffffffff
mov dword [edi + 0x30], ebx
mov eax, ebx
jmp 0x52ad8e
mov eax, 0xffffffd4
jmp 0x52ad8e
mov eax, 0xffffffcd
jmp 0x52ad8e
mov eax, 0xffffffde
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00553392
add esp, 0x164
ret