Function at 0x45a9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4959e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
mov al, byte [esp + 3]
push ebx
mov dword [esp + 0x30], ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00401bc0
mov cl, byte [esp + 7]
push ebx
mov byte [esp + 0xc], cl
lea ecx, [esp + 0xc]
mov dword [esp + 0x840], ebx
call fcn.00450d90
mov eax, dword [esp + 0x844]
mov byte [esp + 0x83c], 1
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x45aa07
xor eax, eax
jmp 0x45aa0f
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jle 0x45abe3
push ebp
push esi
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x24]
call fcn.0040d440
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x45aa37
xor esi, esi
jmp 0x45aa3e
mov edx, dword [esp + 0x2c]
lea esi, [edx + eax]
lea ecx, [esp + 0x24]
call fcn.0040d440
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.0040d440
cmp edi, ebx
jne 0x45aa5c
xor eax, eax
jmp 0x45aa64
mov ecx, dword [esp + 0x28]
mov eax, edi
sub eax, ecx
cmp esi, ebx
jne 0x45aa6c
xor esi, esi
jmp 0x45aa6e
sub esi, edi
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0040c6a0
lea ecx, [esp + 0x14]
call fcn.0045aed0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x45aa8e
xor esi, esi
jmp 0x45aa95
mov ecx, dword [esp + 0x1c]
lea esi, [eax + ecx*2]
lea ecx, [esp + 0x14]
call fcn.0045aed0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.0045aed0
cmp edi, ebx
jne 0x45aab3
xor eax, eax
jmp 0x45aabd
mov edx, dword [esp + 0x18]
mov eax, edi
sub eax, edx
sar eax, 1
cmp esi, ebx
jne 0x45aac5
xor esi, esi
jmp 0x45aac9
sub esi, edi
sar esi, 1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0045ad80
mov esi, dword [esp + 0x854]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00402210
test al, al
je 0x45ab17
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00401ba0
push 0x5c
push 1
lea ecx, [esp + 0x2c]
call fcn.0044a3a0
mov edx, dword [esp + 0x850]
mov eax, dword [0x497530]
mov ecx, dword [esp + 0x34]
push eax
mov esi, dword [edx + 4]
push ebx
add ecx, esi
push ecx
lea ecx, [esp + 0x30]
call fcn.0044b6a0
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x45ab5f
mov eax, 0x497534
lea ecx, [esp + 0x40]
push 0x400
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [0x49728c]
lea edx, [esp + 0x40]
push edx
call fcn.0046afd4
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call fcn.0045b490
test al, al
je 0x45abb2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push esi
push eax
push ecx
call fcn.00459750
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], esi
add esp, 0xc
mov word [edx + esi*2], bx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
push eax
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.0045af50
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add ecx, 0x10
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jne 0x45aa22
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x45ac09
mov al, byte [ecx - 1]
cmp al, bl
je 0x45abfd
cmp al, 0xff
je 0x45abfd
dec al
mov byte [ecx - 1], al
jmp 0x45ac09
add ecx, 0xfffffffe
push ecx
call fcn.00485136
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
cmp ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
je 0x45ac39
mov al, byte [ecx - 1]
cmp al, bl
je 0x45ac2f
cmp al, 0xff
je 0x45ac2f
dec al
mov byte [ecx - 1], al
jmp 0x45ac39
dec ecx
push ecx
call fcn.00485136
add esp, 4
mov ecx, dword [esp + 0x834]
pop ebx
mov dword fs:[0], ecx
add esp, 0x83c
ret 8