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

Disassembly:
push 0xffffffffffffffff
push 0x478018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
mov dword [esp + 0x38], 1
mov dword [esp + 0x20], ebp
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
mov byte [esp + 0x38], 2
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [0x49f474]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f474
mov byte [esp + 0x38], 3
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push 0x484c08
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 4
call fcn.0040b1a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004043f0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436d66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
je 0x436ee7
lea edx, [esp + 0x24]
push edx
push 0x484c04
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.0040b1a0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
mov byte [esp + 0x38], 6
cmp eax, esi
je 0x436dea
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x436dd8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x436dd8
push eax
call fcn.00401510
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x436dcf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebx, [ebp + 0x10]
mov dword [esp + 0x18], ebx
jmp 0x436dea
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00402840
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x436ee7
mov eax, dword [esp + 0x48]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x436fc5
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x436fcf
lea ecx, [esp + 0x20]
push ecx
push 0x484c08
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x50]
call fcn.0040b1a0
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x38], 8
cmp eax, esi
je 0x436eb3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x436ea5
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x436ea5
push eax
call fcn.00401510
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x436e9c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x436eb3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402840
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436ed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [ecx - 0xc], ebp
jne 0x436d73
mov esi, dword [esp + 0x40]
push 0x47dd68
mov ecx, esi
call fcn.004062a0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
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 0x436f62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
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 0x436faf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00401120
lea edx, [esp + 0x24]
push edx
push 0x484c08
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0040b1a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004043f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43701b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.00401510
mov edi, dword [esp + 0x44]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x38], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437052
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
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 0x437098
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4370bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
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 0x4370e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret