Function at 0x42bc20
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 0x42bc9c
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 edi, [ecx + 1]
lea ecx, [esi + 0x100]
push ecx
push 0x4709a0
push eax
call fcn.00437239
movzx edx, di
add esp, 0xc
add edx, ebx
push edx
lea eax, [esp + 0x18]
push eax
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 ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bcff
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 0x42bd74
mov eax, str.Invalid_Number_of_Bytes___0_
lea ecx, [esi + 0x134]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42bd33
sub eax, esi
push eax
push str.Invalid_Number_of_Bytes___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 0x42bd6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x42be84
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ecx, [eax*4]
cmp ecx, edi
je 0x42bd8b
inc eax
test eax, eax
jle 0x42be59
mov dword [esp + 0x14], eax
jmp 0x42bda0
mov ebx, dword [esp + 0x30]
lea ecx, [ecx]
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 0x42be0d
mov edx, dword [edi + 0xc]
test edx, edx
lea ebx, [edi + 0xc]
jge 0x42bde1
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401570
jmp 0x42be0d
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 0x42be02
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 0x42be30
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 0x42bd99
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 0x42be7f
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
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4