Function at 0x421160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e736
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [0x4c45ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c45ac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
xor ebx, ebx
mov dword [esp + 0x240], ebx
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x38], ax
call fcn.004820f0
add esp, 0xc
push 0x104
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00406d60
mov byte [esp + 0x240], 1
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.00420da0
movzx eax, al
cmp eax, ebx
jne 0x421282
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421254
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42127b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421391
mov ecx, dword [esp + 0x24]
push ecx
push 0x4a70a4
mov edi, 0x4c5850
call fcn.004128d0
mov edx, dword [esp + 0x28]
push edx
push 0x4a70ac
mov edi, 0x4c5854
call fcn.004128d0
mov eax, dword [esp + 0x28]
push eax
push 0x4a70b4
mov edi, 0x4c5858
call fcn.004128d0
mov ecx, dword [esp + 0x34]
push ecx
push 0x4a70bc
mov edi, 0x4c585c
call fcn.004128d0
mov edx, dword [0x4c585c]
mov eax, dword [0x4c5858]
mov ecx, dword [0x4c5854]
push edx
mov edx, dword [0x4c5850]
push eax
push ecx
push edx
push str._s._s._s._s
mov edi, 0x4c5868
call fcn.004128d0
mov eax, dword [0x4c5868]
push eax
push 0x4a70dc
mov ecx, 0x4c5908
call fcn.00472890
mov ecx, dword [0x4c585c]
mov edx, dword [0x4c5858]
mov eax, dword [0x4c5854]
push ecx
mov ecx, dword [0x4c5850]
push edx
push eax
push ecx
push str.tod1:_ws_tod2:_ws_tod3:_ws_tod4:_ws
mov ecx, 0x4c5908
call fcn.00472890
mov byte [esp + 0x290], bl
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
add esp, 0x50
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42138c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0047cee5
add esp, 0x234
ret