Function at 0x470880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d52bb
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb0b4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
call edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0xa0], 0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
push 0
mov ebx, eax
push 0
lea eax, [esi + 0x10088]
push eax
mov ebp, edx
push ebp
push ebx
mov ecx, esi
call fcn.00470170
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
cmp ebx, eax
jne 0x470ad2
cmp ebp, edx
jne 0x470ad2
mov ecx, dword [esi + 0x100bc]
cmp ecx, ebp
ja 0x470ad2
jb 0x47093c
mov edx, dword [esi + 0x100b8]
cmp edx, ebx
ja 0x470ad2
mov eax, dword [esi + 0x10098]
sub eax, dword [esi + 0x1009c]
cmp dword [esi + 0x100d4], 0
mov dword [esi + 0x10078], eax
mov dword [esp + 0x18], 0
jbe 0x470a6b
call fcn.00480080
xor ebp, ebp
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x38], ebp
cmp dword [esi + 0x100cc], ebp
jb 0x470a31
ja 0x47098c
cmp dword [esi + 0x100c8], ebp
jbe 0x470a31
mov edx, dword [esi + 0x100cc]
mov eax, dword [esi + 0x100c8]
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
xor eax, eax
push eax
push ecx
call fcn.004c1a70
add eax, ebx
adc edx, edi
add eax, dword [esp + 0x34]
mov ecx, esi
adc edx, dword [esp + 0x38]
push edx
push eax
call fcn.0046f0c0
test al, al
je 0x470a8f
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x8c], edx
jne 0x470aae
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x10078]
push ecx
push ebp
push 0
push eax
call fcn.004c1a70
cmp eax, dword [esp + 0x5c]
jne 0x470a8f
cmp edx, dword [esp + 0x60]
jne 0x470a8f
mov edx, dword [esi + 0x10098]
add ebx, edx
adc edi, 0
add ebp, 1
adc dword [esp + 0x38], 0
cmp edi, dword [esi + 0x100cc]
jb 0x47098c
ja 0x470a31
cmp ebx, dword [esi + 0x100c8]
jb 0x47098c
mov ecx, dword [esi + 0x100bc]
mov eax, dword [esi + 0x100b8]
mov edi, dword [esp + 0x18]
push ecx
push eax
push ecx
push eax
mov eax, dword [esi + 0x100d4]
push 0
push eax
push 0
push edi
call fcn.0040a2a0
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x100d4]
jb 0x470963
mov edi, dword [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
push 0
push ecx
push edx
mov ecx, edi
call eax
mov al, 1
jmp 0x470af4
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x470aed
mov dword [esp + 0xa0], 0xffffffff
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 0
push edx
mov edx, dword [esp + 0x2c]
push edx
call eax
jmp 0x470af2
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
push 0
push eax
push ecx
mov ecx, edi
mov edx, dword [edx + 8]
call edx
xor al, al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c1302
add esp, 0x90
ret