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

Disassembly:
push 0xffffffffffffffff
push 0x570f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.00527d20
push 7
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0
call fcn.00528870
push eax
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.0052e790
mov ecx, eax
call fcn.00528f60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0
call fcn.00528d90
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0052c600
test al, al
je 0x52d00d
mov ecx, dword [esp + 0x18]
mov al, 1
cmp ecx, 0xc
jne 0x52cd2a
test al, al
je 0x52d00d
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0052c600
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x52cd05
test al, al
je 0x52d00d
cmp ecx, 2
je 0x52ce5c
cmp ecx, 5
jne 0x52d00d
mov edi, 0xa0ddc4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x40]
push ebx
call fcn.00527f40
test al, al
je 0x52cd80
mov edi, dword [esp + 0x40]
mov ecx, ebx
mov eax, ecx
mov esi, 0xa0ddc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.0052b130
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0052da10
test al, al
je 0x52ce82
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0052c600
test al, al
je 0x52cf84
cmp dword [esp + 0x30], 0xb
jne 0x52cf84
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.0052e790
mov ecx, eax
call fcn.0052a2f0
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
mov dword [esp + 0x18], eax
call fcn.0052f930
mov ecx, ebp
call fcn.0052c310
mov ecx, ebp
mov bl, al
call fcn.0052fc30
test bl, bl
je 0x52ce82
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.0052c600
test al, al
je 0x52ced5
mov ecx, dword [esp + 0x24]
cmp ecx, 2
je 0x52ce1e
cmp ecx, 0xa
je 0x52ce1e
cmp ecx, 0xc
jne 0x52ced5
cmp ecx, 0xc
mov al, 1
jne 0x52ce3e
test al, al
je 0x52ce3e
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.0052c600
mov ecx, dword [esp + 0x24]
cmp ecx, 0xc
je 0x52ce25
cmp ecx, 2
je 0x52cea5
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0052c600
test al, al
je 0x52d00d
jmp 0x52ccfa
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x52d00d
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00527d20
mov al, 1
jmp 0x52d0b9
push 2
mov ecx, ebp
call fcn.0052e6e0
mov bl, al
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00527d20
jmp 0x52d0b7
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x52cece
mov al, byte [ecx - 1]
test al, al
je 0x52cec4
cmp al, 0xff
je 0x52cec4
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x52d0b9
dec ecx
push ecx
call fcn.0055ec6b
add esp, 4
mov al, 1
jmp 0x52d0b9
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.00527d20
mov edi, 0xa074bc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
call fcn.00527f40
test al, al
je 0x52cf2e
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov edx, ecx
mov esi, 0xa074bc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push 2
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x80], 3
call fcn.0052e760
push 1
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.00527d20
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x52d0b7
mov al, byte [ecx - 1]
test al, al
je 0x52d0ad
cmp al, 0xff
je 0x52d0ad
dec al
mov byte [ecx - 1], al
jmp 0x52d0b7
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], al
call fcn.00527d20
mov edi, 0xa07494
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
push ebx
call fcn.00527f40
test al, al
je 0x52cfdb
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov edx, ecx
mov esi, 0xa07494
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
call fcn.0052b130
lea eax, [esp + 0x30]
push 2
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x80], 2
call fcn.0052e760
push 1
lea ecx, [esp + 0x60]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.00527d20
jmp 0x52ce8d
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
call fcn.00527d20
mov edi, 0xa07470
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
call fcn.00527f40
test al, al
je 0x52d066
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, ecx
mov esi, 0xa07470
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x18]
push 2
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.0052e760
push 1
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x78], 0
call fcn.00527d20
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x52d0b7
mov al, byte [ecx - 1]
test al, al
je 0x52d0ad
cmp al, 0xff
je 0x52d0ad
dec al
mov byte [ecx - 1], al
jmp 0x52d0b7
dec ecx
push ecx
call fcn.0055ec6b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4