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

Disassembly:
push 0xffffffffffffffff
push 0x46dcf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00449a21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00428e30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00403320
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aebc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push eax
lea edi, [ecx + 1]
call fcn.00403100
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebp], eax
call fcn.00428530
mov dword [esi + 0x100], eax
movzx eax, di
add eax, ebx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00428e30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00403320
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42af30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
lea ebp, [edi + ecx + 1]
lea edi, [esi + 0x104]
push edi
push 0x4709a0
push eax
call fcn.00437239
mov edi, dword [edi]
add esp, 0xc
test edi, edi
jne 0x42afa5
mov eax, str.Invalid_data_Length___0_
lea ecx, [esi + 0x134]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42af64
sub eax, esi
push eax
push str.Invalid_data_Length___0_
call fcn.00401570
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42af9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x42b0aa
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edi
je 0x42afb4
inc eax
test eax, eax
jle 0x42b07f
mov dword [esp + 0x14], eax
jmp 0x42afc6
mov ebx, dword [esp + 0x30]
movzx edx, bp
add edx, ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00428e30
mov eax, dword [eax]
mov edi, dword [esp + 0x10]
lea ecx, [eax - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
mov byte [esp + 0x28], 3
je 0x42b033
mov edx, dword [edi + 0xc]
test edx, edx
lea ebx, [edi + 0xc]
jge 0x42b007
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401570
jmp 0x42b033
push ecx
call fcn.00403100
add esp, 4
mov dword [esp + 0x18], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x42b028
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b056
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [esi + 0x14c]
lea edx, [esp + 0x10]
lea ebp, [eax + ebp + 1]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.004441a3
dec dword [esp + 0x14]
jne 0x42afc2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b0a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4