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

Disassembly:
push 0xffffffffffffffff
push 0x1025ea08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.1009ee90
mov ebx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x24], edi
lea ebp, [ebx + 0xc]
mov dword [ebx + 0x40], edi
push ebp
call fcn.10039cb0
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, edi
mov dword [esp + 0x2c], edx
je 0x100454fd
mov edi, dword [eax + edx*4]
test edi, edi
je 0x100454fd
lea ecx, [edi + 8]
push ebp
push ecx
call fcn.10039c90
add esp, 8
test eax, eax
jne 0x100454f3
mov edi, dword [edi]
test edi, edi
jne 0x100454da
jmp 0x100454fd
test edi, edi
mov eax, edi
jne 0x100455af
mov eax, dword [esi + 4]
test eax, eax
jne 0x10045533
mov ebp, dword [esi + 8]
lea edi, [ebp*4]
push edi
call fcn.1024cbd1
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebp
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x1004556a
mov eax, dword [esi + 0x18]
push 0x68
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.1009dfe0
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
lea edx, [ecx + edx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x60]
jl 0x1004556a
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x68
dec ecx
jne 0x1004555c
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
inc ecx
push 1
mov eax, dword [edi]
lea ebp, [edi + 8]
push ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
call fcn.1003cb00
lea ecx, [edi + 0x10]
push 1
push ecx
call fcn.100463a0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov dword [edi + 4], ecx
mov edx, dword [ebx + 0x10]
mov dword [ebp + 4], edx
mov edx, dword [esi + 4]
mov eax, edi
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edx, dword [esi + 4]
mov dword [edx + ecx*4], edi
mov ecx, dword [ebx + 4]
add ebx, 0x48
mov dword [eax + 0x14], ecx
mov edx, dword [ebx - 0x40]
mov dword [eax + 0x18], edx
mov ecx, dword [ebx - 0x38]
mov dword [eax + 0x20], ecx
mov edx, dword [ebx - 0x34]
mov dword [eax + 0x24], edx
mov ecx, dword [ebx - 0x30]
mov dword [eax + 0x28], ecx
mov edx, dword [ebx - 0x2c]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebx - 0x28]
mov dword [eax + 0x30], ecx
mov edx, dword [ebx - 0x24]
mov dword [eax + 0x34], edx
mov ecx, dword [ebx - 0x20]
mov dword [eax + 0x38], ecx
mov edx, dword [ebx - 0x1c]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebx - 0x18]
mov dword [eax + 0x40], ecx
mov edx, dword [ebx - 0x14]
mov dword [eax + 0x44], edx
mov ecx, dword [ebx - 0x10]
mov dword [eax + 0x48], ecx
mov edx, dword [ebx - 0xc]
mov dword [eax + 0x4c], edx
mov ecx, dword [ebx - 8]
mov dword [eax + 0x50], ecx
mov edx, dword [ebx]
add eax, 0x58
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x10]
call fcn.1009eef0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4