Function at 0x485ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x485ab8
push ecx
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x18]
mov edx, dword [0x484d8c]
call fcn.004063b0
xor eax, eax
push ebp
push 0x485f92
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
call fcn.00477990
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x485b39
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0041ef2c
mov eax, dword [eax + 0x14]
mov edx, 0x485fac
call fcn.0040af34
test eax, eax
jne 0x485b35
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0041ef2c
mov dword [ebx + 0x30], eax
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0041ee20
jmp 0x485b39
inc esi
dec edi
jne 0x485b01
xor esi, esi
mov edi, dword [ebx + 8]
test edi, edi
jle 0x485b4e
mov edx, edi
mov eax, dword [ebx + 0xc]
call fcn.00477aa8
mov esi, eax
test esi, esi
jne 0x485b5c
mov eax, dword [ebx + 0xc]
call fcn.00477a24
mov esi, eax
test esi, esi
je 0x485baa
lea ecx, [ebp - 8]
mov eax, dword [esi + 0xc]
mov edx, 0x485fe0
call fcn.0042076c
mov edx, 0x48600c
mov eax, dword [ebp - 8]
call fcn.0040af34
test eax, eax
je 0x485b92
mov edx, 0x486024
mov eax, dword [ebp - 8]
call fcn.0040af34
test eax, eax
jne 0x485b9f
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x485baa
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x48603c
mov edx, 0x48606c
mov eax, ebx
call fcn.00486254
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040b254
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x70]
call fcn.004056cc
cmp dword [ebx + 0x70], 0
jne 0x485c0f
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x484ea8
call fcn.00407bdc
mov ecx, dword [ebp - 0x34]
mov edx, 0x47f
mov eax, ebx
call fcn.004858d4
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x409770]
call fcn.004100c4
call fcn.004046a0
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x70]
call fcn.0048590c
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x70]
call fcn.004056cc
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x486094
mov edx, 0x4860c8
mov eax, ebx
call fcn.00486254
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040b254
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x74]
call fcn.004056cc
cmp dword [ebx + 0x74], 0
jne 0x485c8a
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, 0x484eb0
call fcn.00407bdc
mov ecx, dword [ebp - 0x48]
mov edx, 0x480
mov eax, ebx
call fcn.004858d4
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x409770]
call fcn.004100c4
call fcn.004046a0
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x74]
call fcn.0048590c
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x74]
call fcn.004056cc
push 0
lea eax, [ebx + 0x18]
mov ecx, 1
mov edx, dword [0x484dc4]
call fcn.00406ea4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x4860e8
mov edx, 0x4860f8
mov eax, ebx
call fcn.00486198
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.0040b254
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x24]
call fcn.00485964
test al, al
je 0x485f33
cmp dword [ebp - 0x24], 0
jle 0x485f33
mov edi, dword [ebp - 0x24]
test edi, edi
jle 0x485f33
mov esi, 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x58]
xor ecx, ecx
mov eax, 0x486118
call fcn.0040ca20
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x486134
mov edx, dword [ebp - 4]
call fcn.00405b88
mov edx, dword [ebp - 0x68]
xor ecx, ecx
mov eax, ebx
call fcn.00486254
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040b254
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0048590c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
call fcn.00405720
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x486150
mov edx, dword [ebp - 4]
call fcn.00405b88
mov edx, dword [ebp - 0x74]
xor ecx, ecx
mov eax, ebx
call fcn.00486198
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040b254
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.00405720
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
mov ecx, 0x48616c
mov edx, dword [ebp - 4]
call fcn.00405b88
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov eax, ebx
call fcn.00486254
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0040b254
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0048590c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
call fcn.00405720
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
mov ecx, 0x486184
mov edx, dword [ebp - 4]
call fcn.00405b88
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov eax, ebx
call fcn.00486254
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0040b254
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0048590c
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0xc]
call fcn.00405720
cmp dword [ebp - 0x18], 0
je 0x485f2b
cmp dword [ebp - 0x14], 0
je 0x485f2b
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00485984
test al, al
je 0x485ed8
cmp dword [ebp - 0x20], 0
jle 0x485ed8
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004858d4
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x14]
call fcn.00405720
cmp dword [ebp - 0x14], 0
jne 0x485ed8
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa0]
mov eax, 0x484eb8
call fcn.00407bdc
mov ecx, dword [ebp - 0xa0]
mov edx, 0x481
mov eax, ebx
call fcn.004858d4
mov ecx, dword [ebp - 0x9c]
mov dl, 1
mov eax, dword [0x409770]
call fcn.00410100
call fcn.004046a0
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x14]
call fcn.0048590c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x14]
call fcn.00405720
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea eax, [ebx + 0x18]
mov ecx, 1
mov edx, dword [0x484dc4]
call fcn.00406ea4
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, eax
mov edx, dword [ebx + 0x18]
lea eax, [edx + eax*8]
lea edx, [ebp - 0x18]
mov ecx, dword [0x484d8c]
call fcn.0040660c
inc dword [ebp - 0x1c]
inc esi
dec edi
jne 0x485d0a
mov eax, dword [ebx + 0x18]
call fcn.00406cdc
mov edx, dword [ebx + 0x14]
add eax, dword [edx + 8]
add eax, 2
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485f99
lea eax, [ebp - 0xa4]
mov edx, 0x13
call fcn.004056c4
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.004056c4
lea eax, [ebp - 0x18]
mov edx, dword [0x484d8c]
call fcn.00406488
lea eax, [ebp - 8]
mov edx, 2
call fcn.004056c4
ret