Function at 0x47f3f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57ea0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
push eax
call fcn.00479700
xor ebp, ebp
mov dword [esi + 0x7c], ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 3
mov dword [esi], 0x5996a8
call fcn.004133e0
lea ecx, [esp + 0x28]
call fcn.004133e0
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esi + 0x28]
call fcn.004798a0
push 0x5d7ff8
lea ecx, [esp + 0x30]
call fcn.00411a30
lea edi, [esi + 0x14]
lea edx, [esp + 0x2c]
cmp edi, edx
mov byte [esp + 0x18], 4
je 0x47f488
mov eax, dword [edi]
cmp eax, ebp
je 0x47f47c
push eax
mov ecx, edi
call fcn.00411610
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov dword [edi], eax
je 0x47f48c
inc dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov byte [esp + 0x18], 3
je 0x47f49f
push eax
lea ecx, [esp + 0x30]
call fcn.00411610
movsx eax, word [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x4c], eax
mov eax, esp
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], esp
je 0x47f4c9
inc dword [eax]
mov ecx, esi
call fcn.00480aa0
mov ecx, esi
call fcn.0047ebc0
movsx eax, ax
cmp eax, ebp
mov dword [esi + 0x44], eax
jl 0x47f646
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x47f4f4
mov eax, dword [0x5c9814]
jmp 0x47f4f7
add eax, 0xc
mov dx, word [esi + 0x44]
push 0x83
push eax
push edx
call fcn.0055b830
movsx eax, ax
mov cx, ax
mov dword [esi + 0x20], eax
push ecx
call fcn.0047ec00
movsx eax, ax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x47f599
mov ecx, esi
call fcn.0047ebc0
movsx eax, ax
cmp eax, ebp
mov dword [esi + 0x48], eax
jl 0x47f63b
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x47f547
mov eax, dword [0x5c9814]
jmp 0x47f54a
add eax, 0xc
push 0x83
push eax
mov ax, word [esi + 0x48]
push eax
call fcn.0055b830
movsx ecx, ax
mov dx, cx
mov dword [esi + 0x20], ecx
push edx
call fcn.0047ec00
movsx eax, ax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x47f58e
mov ecx, esi
call fcn.0047f6a0
test al, al
je 0x47f646
mov byte [esi + 0x18], 1
jmp 0x47f646
mov ax, word [esi + 0x44]
push ebp
push eax
jmp 0x47f641
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x47f5a8
mov eax, dword [0x5c9814]
jmp 0x47f5ab
add eax, 0xc
mov cx, word [esi + 0x44]
push 0xa
push eax
push ecx
call fcn.0055b830
movsx edx, ax
mov ax, dx
mov dword [esi + 0x20], edx
push eax
call fcn.0047ec00
movsx eax, ax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x47f646
mov ecx, esi
mov byte [esi + 0x24], 1
call fcn.0047ebc0
movsx eax, ax
cmp eax, ebp
mov dword [esi + 0x48], eax
jge 0x47f5f1
mov cx, word [esi + 0x44]
push ebp
push ecx
jmp 0x47f641
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x47f600
mov eax, dword [0x5c9814]
jmp 0x47f603
add eax, 0xc
mov dx, word [esi + 0x48]
push 0xa
push eax
push edx
call fcn.0055b830
movsx eax, ax
mov cx, ax
mov dword [esi + 0x20], eax
push ecx
call fcn.0047ec00
movsx eax, ax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x47f63b
mov ecx, esi
call fcn.0047f6a0
test al, al
je 0x47f63b
mov byte [esi + 0x18], 1
mov dx, word [esi + 0x44]
push ebp
push edx
call fcn.0055c380
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 0
cmp eax, ebp
je 0x47f65d
push eax
lea ecx, [esp + 0x28]
call fcn.00411610
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
cmp eax, ebp
mov dword [esp + 0x18], 0xffffffff
je 0x47f67b
push eax
lea ecx, [esp + 0x2c]
call fcn.00411610
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x14