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

Disassembly:
push 0xffffffffffffffff
push 0x42b0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
call fcn.0041c874
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ebx
call fcn.0041c874
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x44], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.00426287
test eax, eax
je 0x402517
cmp dword [esp + 0x14], 3
jne 0x402517
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push esi
push edi
push ebx
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00426a6d
mov edx, dword [esp + 0x10]
push 0x20200000
push ebx
push ebx
push 1
push ebx
mov edi, eax
push edx
push 1
mov ecx, edi
call fcn.00426d00
push 0xffffffffffffffff
mov esi, eax
push 0x10000000
push 0x42c608
mov ecx, esi
call fcn.004257e1
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042617c
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00425857
mov eax, dword [esp + 0x18]
cmp eax, 0x191
jne 0x40220c
push ebx
push 6
push 0x2eee
push ebx
mov ecx, esi
call fcn.004257a2
cmp eax, 0x2f00
mov ecx, esi
je 0x4021f3
mov edx, dword [esi]
call dword [edx + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
jmp 0x4022b7
push ebx
push ebx
push ebx
push ebx
call fcn.0042617c
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00425857
mov eax, dword [esp + 0x18]
cmp eax, 0x12d
je 0x402225
cmp eax, 0x12e
je 0x402225
cmp eax, 0x12f
jne 0x402496
call fcn.0041c874
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x44], eax
push ebx
lea eax, [esp + 0x48]
push eax
push 0x16
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.0042639a
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
jl 0x402274
push str.Location:
push eax
call fcn.0040e187
add esp, 8
cmp eax, ebx
je 0x402274
sub eax, dword [esp + 0x44]
cmp eax, 0xffffffff
jne 0x402316
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
add eax, 0xa
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f60
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 3
call fcn.00401e60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40235a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
jl 0x402418
push 0x42c684
push eax
call fcn.0040e187
add esp, 8
cmp eax, ebx
je 0x402418
sub eax, dword [esp + 0x44]
cmp eax, ebx
jle 0x402418
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401b80
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 4
call fcn.00401e60
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 2
call fcn.00401500
mov ebp, dword [esp + 0x2c]
add ebp, 0x10
push 0x5c
mov ecx, ebp
call fcn.00401390
cmp eax, ebx
jle 0x402414
inc eax
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00401b00
lea edx, [esp + 0x44]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x44], 5
call fcn.00401fb0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 6
call fcn.004020a0
lea ecx, [esp + 0x2c]
call fcn.00401500
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 2
call fcn.00401500
mov ebp, dword [esp + 0x40]
push 0x2f
mov ecx, ebp
call fcn.00401390
cmp eax, ebx
jle 0x402473
inc eax
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00401b00
lea edx, [esp + 0x44]
push edx
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x44], 7
call fcn.00401fb0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 8
call fcn.00401e60
lea ecx, [esp + 0x40]
call fcn.00401500
lea ecx, [esp + 0x28]
call fcn.00401500
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40255f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8