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

Disassembly:
push 0xffffffffffffffff
push 0x57119e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], al
call fcn.00527d20
lea ecx, [edi + 0x34]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00530260
lea ebp, [edi + 0x44]
lea ecx, [esp + 0x38]
push ebp
call fcn.00530260
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x52ebe0
mov edx, dword [esi + 4]
lea eax, [esp + 0xa8]
push edx
push eax
mov ecx, edi
call fcn.0052e870
push eax
lea ecx, [esp + 0x4c]
push 0x9eb378
push ecx
mov byte [esp + 0xdc], 1
call fcn.00530c30
push 0x9f6380
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0xe8], 2
call fcn.00530d80
add esp, 0x18
mov ecx, dword [0x90c80c]
mov byte [esp + 0xd0], 3
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.005302f0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 2
call fcn.00527d20
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 1
call fcn.00527d20
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], bl
call fcn.00527d20
lea edx, [esi + 0xc]
lea eax, [esp + 0x58]
push edx
push 0xa076ac
push eax
call fcn.00530c30
push 0x9f6380
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0xe8], 4
call fcn.00530d80
add esp, 0x18
mov edx, dword [0x90c80c]
lea ecx, [esp + 0x24]
push edx
push ebx
push eax
mov byte [esp + 0xdc], 5
call fcn.005302f0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 4
call fcn.00527d20
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], bl
call fcn.00527d20
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x52eb94
lea eax, [esp + 0xb8]
push esi
push eax
mov ecx, edi
call fcn.0052e870
push eax
lea ecx, [esp + 0x9c]
push 0xa076a4
push ecx
mov byte [esp + 0xdc], 6
call fcn.00530c30
push 0xa07694
lea edx, [esp + 0x88]
push eax
push edx
mov byte [esp + 0xe8], 7
call fcn.00530d80
add esp, 0x18
mov ecx, dword [0x90c80c]
mov byte [esp + 0xd0], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.005302f0
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 7
call fcn.00527d20
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 6
call fcn.00527d20
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], bl
call fcn.00527d20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0x20
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x52ebc6
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x18], edx
push ebp
lea ecx, [esp + 0x3c]
call fcn.00530260
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x52e9da
mov esi, dword [esp + 0xd8]
mov al, byte [esp + 0x24]
lea edx, [esp + 0x24]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x90c80c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0052a6f0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x52ec2e
mov al, byte [ecx - 1]
cmp al, bl
je 0x52ec24
cmp al, 0xff
je 0x52ec24
dec al
mov byte [ecx - 1], al
jmp 0x52ec2e
dec ecx
push ecx
call fcn.0055ec6b
add esp, 4
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 4