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

Disassembly:
push 0xffffffffffffffff
push 0x7853da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
xor esi, esi
cmp ebx, eax
mov dword [esp + 0x20], esi
jl 0x436348
inc ebx
cmp ebx, esi
jne 0x4361d0
mov edi, dword [ebp + 4]
cmp edi, esi
je 0x4361c5
mov ecx, eax
dec eax
test ecx, ecx
je 0x4361b6
lea ebx, [eax + 1]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx]
add edi, 0x24
dec ebx
jne 0x4361a9
mov eax, dword [ebp + 4]
push eax
call fcn.007604d0
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x436348
mov ecx, dword [ebp + 4]
cmp ecx, esi
jne 0x43622e
lea edi, [ebx + ebx*8]
shl edi, 2
push edi
call fcn.007604a7
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x436219
mov ecx, esi
call fcn.0073d620
add esi, 0x24
dec edi
mov dword [esp + 0x10], esi
jne 0x436205
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x436348
mov edi, dword [ebp + 0xc]
cmp ebx, edi
jg 0x4362aa
cmp eax, ebx
jge 0x436291
mov edx, ebx
sub edx, eax
lea eax, [eax + eax*8]
lea edi, [ecx + eax*4]
lea ecx, [edx + edx*8]
shl ecx, 2
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x10], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x4362a2
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 2
je 0x43627f
mov ecx, esi
call fcn.0073d620
add esi, 0x24
dec edi
mov dword [esp + 0x10], esi
jne 0x43626b
mov dword [ebp + 8], ebx
jmp 0x436348
jle 0x4362a2
sub eax, ebx
lea edx, [ebx + ebx*8]
push eax
lea eax, [ecx + edx*4]
push eax
call fcn.00423560
mov dword [ebp + 8], ebx
jmp 0x436348
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
jne 0x4362d5
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4362c8
mov ecx, 4
jmp 0x4362d5
cmp ecx, 0x400
jle 0x4362d5
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
jge 0x4362e2
mov dword [esp + 0x10], eax
jmp 0x4362e8
mov dword [esp + 0x10], ebx
mov eax, ebx
lea ecx, [eax + eax*8]
shl ecx, 2
push ecx
call fcn.007604a7
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x14], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.004235e0
mov eax, dword [ebp + 4]
push eax
call fcn.007604d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + eax*8]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov dword [eax + 0x20], edx
call fcn.0073d650
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x28