Function at 0x410f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b4044
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4e02dc]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], esi
lea eax, [esi + 8]
xor ebx, ebx
mov dword [esp + 0x19c], ebx
push eax
mov dword [esi], vtable.KProxyWrapper.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x19c], 1
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
lea ebp, [esi + 0x24]
call edx
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x19c], 2
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x19c], 3
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, 0xf
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x18c], eax
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
mov dword [esp + 0x170], eax
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
mov dword [esp + 0x154], eax
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
mov dword [esp + 0x138], eax
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
cmp edi, ebx
mov byte [esp + 0x19c], 8
mov dword [esi + 4], edi
je 0x41123d
mov eax, dword [edi + 4]
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x180]
mov dword [esp + 0x20], eax
call fcn.004057c0
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x24]
push edx
lea ecx, [esp + 0x164]
call fcn.004057c0
mov eax, dword [edi + 0x40]
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x44]
push ecx
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c], eax
call fcn.004057c0
push 0xffffffffffffffff
push ebx
add edi, 0x60
push edi
lea ecx, [esp + 0x12c]
call fcn.004057c0
mov eax, dword [esp + 0x14]
sub eax, ebx
je 0x4110c3
sub eax, 1
je 0x4110ba
sub eax, 4
jne 0x4110c3
mov dword [esi + 0x20], 2
jmp 0x4110c6
mov dword [esi + 0x20], 1
jmp 0x4110c6
mov dword [esi + 0x20], ebx
cmp dword [esp + 0x18c], 0x10
mov edi, dword [esp + 0x178]
jae 0x4110de
lea edi, [esp + 0x178]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call dword [0x4e0024]
push eax
push edi
lea eax, [esp + 0x24]
call fcn.00407690
mov byte [esp + 0x19c], 9
mov edx, dword [esp + 0x1c]
mov edi, ebp
call fcn.00401710
mov byte [esp + 0x19c], 8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x411127
push eax
call fcn.0049504d
add esp, 4
mov eax, dword [esp + 0x15c]
mov ebp, 0x10
cmp dword [esp + 0x170], ebp
jae 0x411143
lea eax, [esp + 0x15c]
push 0xa
push ebx
push eax
call fcn.004967df
add esp, 0xc
cmp dword [esp + 0x10], ebx
mov dword [esi + 0x28], eax
je 0x41121d
cmp dword [esp + 0x154], ebp
mov edi, dword [esp + 0x140]
mov dword [esi + 0x2c], 1
jae 0x41117a
lea edi, [esp + 0x140]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call dword [0x4e0024]
push eax
push edi
lea eax, [esp + 0x24]
call fcn.00407690
mov byte [esp + 0x19c], 0xa
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x30]
call fcn.00401710
mov byte [esp + 0x19c], 8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x4111c4
push eax
call fcn.0049504d
add esp, 4
cmp dword [esp + 0x138], ebp
mov edi, dword [esp + 0x124]
jae 0x4111db
lea edi, [esp + 0x124]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call dword [0x4e0024]
push eax
push edi
lea eax, [esp + 0x24]
call fcn.00407690
mov byte [esp + 0x19c], 0xb
mov edx, dword [esp + 0x1c]
lea edi, [esi + 0x34]
call fcn.00401710
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x41121d
push eax
call fcn.0049504d
add esp, 4
cmp dword [esp + 0x138], ebp
jb 0x411236
mov edx, dword [esp + 0x124]
push edx
call fcn.004935b1
add esp, 4
mov eax, 0xf
jmp 0x411242
mov ebp, 0x10
cmp dword [esp + 0x154], ebp
mov dword [esp + 0x138], eax
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x411275
mov eax, dword [esp + 0x140]
push eax
call fcn.004935b1
add esp, 4
mov eax, 0xf
cmp dword [esp + 0x170], ebp
mov dword [esp + 0x154], eax
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x4112a8
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.004935b1
add esp, 4
mov eax, 0xf
cmp dword [esp + 0x18c], ebp
mov dword [esp + 0x170], eax
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
jb 0x4112d6
mov edx, dword [esp + 0x178]
push edx
call fcn.004935b1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004935b6
add esp, 0x190
ret