Function at 0x47ef10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143b10
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x47f13d
lea ecx, [ebp - 0x2c]
call fcn.004b3030
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 2
call fcn.00480600
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
add edi, 1
lea ecx, [ebp - 0x24]
adc ebx, 0
call fcn.004b3030
push ebx
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov word [ebp - 0x24], 2
mov word [ebp - 0x22], 8
call fcn.00480670
lea ecx, [ebp - 0x1c]
call fcn.004b3030
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov word [ebp - 0x1c], 3
mov word [ebp - 0x1a], 8
call fcn.00480670
lea ecx, [ebp - 0x7c]
call fcn.004808a0
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00480940
push 1
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00480940
push 1
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00480940
cmp dword [ebp + 0x14], 0
je 0x47f0d6
cmp dword [ebp + 0x18], 0
je 0x47f0d6
lea ecx, [ebp - 0x44]
call fcn.004b3030
mov eax, 4
mov word [ebp - 0x44], ax
mov word [ebp - 0x42], ax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004805a0
lea ecx, [ebp - 0x3c]
call fcn.004b3030
mov eax, dword [ebp + 0x14]
movzx ecx, word [eax]
mov edx, dword [eax]
push edx
add eax, 4
mov word [ebp - 0x3a], cx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
mov word [ebp - 0x3c], 5
call fcn.00480540
lea ecx, [ebp - 0x34]
call fcn.004b3030
mov eax, 6
mov byte [ebp - 4], al
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0x18]
movzx ecx, word [eax]
mov edx, dword [eax]
push edx
add eax, 4
mov word [ebp - 0x32], cx
push eax
lea ecx, [ebp - 0x34]
call fcn.00480540
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00480940
push 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00480940
push 1
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00480940
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00480490
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00480490
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00480490
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00480910
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push 0x800000ad
mov ecx, esi
call fcn.0047e0c0
cmp eax, 0xffffffff
mov dword [ebp + 0x14], eax
jne 0x47f153
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004808c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00480490
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00480490
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00480490
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0xc]
push eax
mov dword [ebp - 0x5c], 0x800000ad
mov word [ebp - 0x58], 1
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp + 8], eax
call dword [0x101524c0]
mov byte [ebp + 0xc], 1
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
push eax
push ecx
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 7
call fcn.0047ebf0
mov edx, dword [ebp + 8]
push edx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
call dword [0x101524c4]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004808c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00480490
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00480490
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00480490
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14