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

Disassembly:
push 0xffffffffffffffff
push 0x56359e
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.0051a180
lea ecx, [edi + 0x34]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.005226d0
lea ebp, [edi + 0x44]
lea ecx, [esp + 0x38]
push ebp
call fcn.005226d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x521050
mov edx, dword [esi + 4]
lea eax, [esp + 0xa8]
push edx
push eax
mov ecx, edi
call fcn.00520ce0
push eax
lea ecx, [esp + 0x4c]
push 0x9d6370
push ecx
mov byte [esp + 0xdc], 1
call fcn.005230a0
push 0x9e1238
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0xe8], 2
call fcn.005231f0
add esp, 0x18
mov ecx, dword [0x8f7afc]
mov byte [esp + 0xd0], 3
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00522760
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 2
call fcn.0051a180
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 1
call fcn.0051a180
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], bl
call fcn.0051a180
lea edx, [esi + 0xc]
lea eax, [esp + 0x58]
push edx
push 0x9f2564
push eax
call fcn.005230a0
push 0x9e1238
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0xe8], 4
call fcn.005231f0
add esp, 0x18
mov edx, dword [0x8f7afc]
lea ecx, [esp + 0x24]
push edx
push ebx
push eax
mov byte [esp + 0xdc], 5
call fcn.00522760
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 4
call fcn.0051a180
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], bl
call fcn.0051a180
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x521004
lea eax, [esp + 0xb8]
push esi
push eax
mov ecx, edi
call fcn.00520ce0
push eax
lea ecx, [esp + 0x9c]
push str.See
push ecx
mov byte [esp + 0xdc], 6
call fcn.005230a0
push str._for_detail._n
lea edx, [esp + 0x88]
push eax
push edx
mov byte [esp + 0xe8], 7
call fcn.005231f0
add esp, 0x18
mov ecx, dword [0x8f7afc]
mov byte [esp + 0xd0], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00522760
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 7
call fcn.0051a180
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 6
call fcn.0051a180
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], bl
call fcn.0051a180
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0x20
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x521036
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.005226d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x520e4a
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 [0x8f7afc]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0051cb60
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x52109e
mov al, byte [ecx - 1]
cmp al, bl
je 0x521094
cmp al, 0xff
je 0x521094
dec al
mov byte [ecx - 1], al
jmp 0x52109e
dec ecx
push ecx
call fcn.0055110b
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