Function at 0x412ad0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c33b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43f838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x440620
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], 0x18
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 1
call fcn.00405260
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.00408200
mov dword [esi + 0x8c], 1
mov dword [esi + 0x88], 0x18
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x94], eax
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
call edx
add eax, 0x10
mov dword [esi + 0x98], eax
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
call edx
add eax, 0x10
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
mov byte [ebp - 4], 4
call edx
add eax, 0x10
mov dword [esi + 0xb0], eax
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 5
call fcn.00419770
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 6
call fcn.00419770
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 7
call fcn.00419770
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 8
call fcn.00419770
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 9
call fcn.00415cf0
mov ebx, dword [ebp + 8]
push ebx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 0xa
call fcn.00401300
lea eax, [ebx + 4]
lea ecx, [esi + 0x28]
push eax
call fcn.00401300
lea edx, [ebx + 8]
lea ecx, [esi + 0x2c]
push edx
call fcn.00401300
lea eax, [ebx + 0xc]
lea ecx, [esi + 0x30]
push eax
call fcn.00401300
mov ecx, dword [ebx + 0x10]
lea edx, [ebx + 0x14]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x38]
push edx
call fcn.00401300
mov al, byte [ebx + 0x18]
lea ecx, [ebp + 8]
mov byte [esi + 0x3c], al
call fcn.0041cad0
mov eax, dword [ebx + 0x10]
dec eax
mov byte [ebp - 4], 0xb
je 0x412cb5
dec eax
je 0x412cae
mov ecx, 0x7530
jmp 0x412cba
mov ecx, 0x1f4
jmp 0x412cba
mov ecx, 0x5dc
lea eax, [esi + 0x40]
push eax
mov dword [eax + 0x20], ecx
push ebx
lea ecx, [ebp + 8]
call fcn.0041cf20
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0041c940
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [esi + 0xb0]
push 0x433a50
xor edi, edi
push eax
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], 1
call fcn.0040ec90
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.00410940
push eax
lea eax, [ebp + 8]
push 0x440b10
mov bl, 0xc
push eax
mov byte [ebp - 4], bl
call fcn.0040c940
add esp, 0xc
push 1
push eax
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xd
call fcn.0041e3a0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410940
push eax
lea edx, [ebp + 8]
push 0x440b14
mov bl, 0xe
push edx
mov byte [ebp - 4], bl
call fcn.0040c940
add esp, 0xc
push 1
push eax
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.0041e3a0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412df2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410940
push eax
lea edx, [ebp + 8]
push 0x440b18
mov bl, 0x10
push edx
mov byte [ebp - 4], bl
call fcn.0040c940
add esp, 0xc
push 1
push eax
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x11
call fcn.0041e3a0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412e48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412e6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00410940
push eax
lea edx, [ebp + 8]
push 0x440b1c
mov bl, 0x12
push edx
mov byte [ebp - 4], bl
call fcn.0040c940
add esp, 0xc
push 1
push eax
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 0x13
call fcn.0041e3a0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], edi
mov edx, dword [0x440620]
mov eax, dword [edx + 0xc]
mov ecx, 0x440620
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0x14
cmp eax, edi
jne 0x412f21
push 2
push str.0x_02x
lea ecx, [ebp - 0x10]
push ecx
jmp 0x412f2b
push eax
push str.0x_02x
lea edx, [ebp - 0x10]
push edx
call fcn.0040ec90
add esp, 0xc
lea eax, [esi + 0x6c]
push eax
lea ecx, [esi + 0x68]
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [esi + 0xcc]
call fcn.00416a80
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
push 0
lea ecx, [esi + 0xcc]
call fcn.004164e0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc