Function at 0x1004b470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019eced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
push dword [ebx + 4]
mov dword [ebp - 0x1c], ebx
call fcn.1002e250
mov edx, dword [ebx + 4]
neg eax
mov dword [ebp - 0x10], edx
lea ecx, [eax + 0xf4627]
cmp ecx, 0xf4627
ja 0x1004b4c3
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0xc]
sub ebx, dword [ecx]
sar ebx, 4
add ebx, eax
jmp 0x1004b4c5
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x50]
mov esi, dword [edi + 0x54]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x48]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x4c]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x40]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x44]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x38]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x3c]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x30]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x34]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x28]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x2c]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x20]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x24]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x18]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x1c]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 0x10]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi + 8]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 0xc]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.100ec840
mov eax, dword [edi]
lea edx, [ebp + 0xc]
mov esi, dword [edi + 4]
add esp, 4
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10040d90
push esi
mov edx, ebx
call fcn.100ec0e0
mov edx, eax
mov ecx, edi
call fcn.100ec840
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, 0xfffffffe
mov ecx, dword [ecx + 4]
call fcn.100ec240
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8