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

Disassembly:
push 0xffffffffffffffff
push 0x4a8e8e
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.0046ebd0
lea ecx, [edi + 0x34]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.0047b4b0
lea ebp, [edi + 0x44]
lea ecx, [esp + 0x38]
push ebp
call fcn.0047b4b0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x479f90
mov edx, dword [esi + 4]
lea eax, [esp + 0xa8]
push edx
push eax
mov ecx, edi
call fcn.00479c20
push eax
lea ecx, [esp + 0x4c]
push 0x4fcc78
push ecx
mov byte [esp + 0xdc], 1
call fcn.0047bfa0
push 0x4fc774
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0xe8], 2
call fcn.0047c0f0
add esp, 0x18
mov ecx, dword [0x4decec]
mov byte [esp + 0xd0], 3
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.0047b540
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 2
call fcn.0046ebd0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 1
call fcn.0046ebd0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], bl
call fcn.0046ebd0
lea edx, [esi + 0xc]
lea eax, [esp + 0x58]
push edx
push 0x4fcc74
push eax
call fcn.0047bfa0
push 0x4fc774
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0xe8], 4
call fcn.0047c0f0
add esp, 0x18
mov edx, dword [0x4decec]
lea ecx, [esp + 0x24]
push edx
push ebx
push eax
mov byte [esp + 0xdc], 5
call fcn.0047b540
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 4
call fcn.0046ebd0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], bl
call fcn.0046ebd0
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x479f44
lea eax, [esp + 0xb8]
push esi
push eax
mov ecx, edi
call fcn.00479c20
push eax
lea ecx, [esp + 0x9c]
push str.See
push ecx
mov byte [esp + 0xdc], 6
call fcn.0047bfa0
push str._for_detail._n
lea edx, [esp + 0x88]
push eax
push edx
mov byte [esp + 0xe8], 7
call fcn.0047c0f0
add esp, 0x18
mov ecx, dword [0x4decec]
mov byte [esp + 0xd0], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.0047b540
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 7
call fcn.0046ebd0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 6
call fcn.0046ebd0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], bl
call fcn.0046ebd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0x20
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x479f76
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.0047b4b0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x479d8a
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 [0x4decec]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00474f00
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x479fde
mov al, byte [ecx - 1]
cmp al, bl
je 0x479fd4
cmp al, 0xff
je 0x479fd4
dec al
mov byte [ecx - 1], al
jmp 0x479fde
dec ecx
push ecx
call fcn.00499806
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