Function at 0x473870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c9c18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
mov ebx, dword [esp + 0x64]
mov ebp, dword [eax + 0x10]
mov ecx, dword [ebx]
mov edx, dword [eax + 0xc]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x18], ebp
xor ebp, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x14]
mov ecx, dword [ecx + 0x14]
add ecx, eax
add esi, edx
push ecx
push esi
lea esi, [esp + 0x38]
call fcn.00473350
lea eax, [esp + 0x28]
push eax
call fcn.004ab2ec
xor ecx, ecx
add esp, 4
cmp dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
jle 0x473b0a
jmp 0x473910
cmp ecx, dword [esp + 0x20]
jge 0x473a8b
mov eax, dword [edi]
mov edx, dword [ebx]
mov esi, dword [eax + 0x10]
mov ebx, dword [edx + 0x10]
imul esi, ebp
add esi, dword [edi + 8]
imul ebx, ecx
mov ecx, dword [esp + 0x64]
add ebx, dword [ecx + 8]
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x14]
jae 0x473a11
mov eax, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x24], eax
je 0x473a11
mov ecx, dword [ebx]
cmp ecx, dword [edx + 0x14]
jae 0x473a4e
mov edx, dword [esp + 0x64]
mov edi, dword [edx + 4]
add edi, ecx
je 0x473a4e
mov edx, edi
mov ecx, eax
call fcn.00444d80
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [esp + 0x2c]
jl 0x47398d
jg 0x473985
mov edx, dword [ebx + 8]
cmp edx, dword [esp + 0x28]
jbe 0x47398d
xor ecx, ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
test eax, eax
jne 0x4739d1
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 0xc]
mov ecx, dword [ebx + 8]
jl 0x4739b8
jg 0x4739a3
cmp ecx, dword [esi + 8]
jbe 0x4739b8
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 8], ecx
mov ebx, dword [ebx + 0x10]
cmp ebx, eax
jle 0x4739b5
mov eax, ebx
mov dword [esi + 0x10], eax
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push esi
lea esi, [esp + 0x34]
call fcn.00473410
inc dword [esp + 0x14]
inc ebp
jmp 0x4739f6
mov edx, dword [esp + 0x18]
jge 0x4739e8
mov edi, dword [esp + 0x24]
push esi
lea esi, [esp + 0x34]
call fcn.00473410
inc ebp
jmp 0x4739f6
push ebx
lea esi, [esp + 0x34]
call fcn.00473410
inc dword [esp + 0x14]
cmp ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
jge 0x473b0a
mov edi, dword [esp + 0x60]
jmp 0x473910
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x30]
push ecx
mov byte [eax], 1
call fcn.004aac3a
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call fcn.004aac3a
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.004aac3a
add esp, 4
xor al, al
jmp 0x473beb
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x30]
push edx
mov byte [ecx], 1
call fcn.004aac3a
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.004aac3a
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.004aac3a
add esp, 4
xor al, al
jmp 0x473beb
cmp ebp, dword [esp + 0x1c]
jge 0x473b0a
mov ecx, dword [edi]
mov eax, dword [ecx + 0x10]
imul eax, ebp
add eax, dword [edi + 8]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x14]
jae 0x473ac5
mov edi, dword [edi + 4]
add edi, edx
je 0x473ac5
mov edx, dword [esp + 0x18]
push eax
lea esi, [esp + 0x34]
call fcn.00473410
inc ebp
cmp ebp, dword [esp + 0x1c]
jge 0x473b02
mov edi, dword [esp + 0x60]
jmp 0x473a91
mov edx, dword [esp + 0x68]
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
mov byte [edx], 1
call fcn.004aac3a
mov ecx, dword [esp + 0x3c]
add esp, 4
push ecx
call fcn.004aac3a
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.004aac3a
add esp, 4
xor al, al
jmp 0x473beb
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x20]
jge 0x473baa
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
imul eax, ecx
add eax, dword [ebx + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x2c]
jl 0x473b3b
jg 0x473b33
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x28]
jbe 0x473b3b
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax]
mov edx, dword [ebx]
cmp ecx, dword [edx + 0x14]
jae 0x473b70
mov edi, dword [ebx + 4]
add edi, ecx
je 0x473b70
mov edx, dword [esp + 0x18]
push eax
lea esi, [esp + 0x34]
call fcn.00473410
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jge 0x473baa
mov ebx, dword [esp + 0x64]
mov ecx, eax
jmp 0x473b14
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x30]
push ecx
mov byte [eax], 1
call fcn.004aac3a
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call fcn.004aac3a
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.004aac3a
add esp, 4
xor al, al
jmp 0x473beb
mov ecx, dword [esp + 0x5c]
push ecx
lea edi, [esp + 0x34]
call fcn.00473490
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x30]
push edx
mov bl, al
call fcn.004aac3a
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.004aac3a
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.004aac3a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14