Function at 0x42eca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50f336
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [0x546fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x546fac
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.004f08c0
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.00406d70
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.0042e8e0
movzx eax, al
cmp eax, ebx
jne 0x42edc2
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 0x42ed94
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 0x42edbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42eed1
mov ecx, dword [esp + 0x24]
push ecx
push 0x51d1f4
mov edi, 0x54886c
call fcn.004190d0
mov edx, dword [esp + 0x28]
push edx
push 0x51d1fc
mov edi, 0x548870
call fcn.004190d0
mov eax, dword [esp + 0x28]
push eax
push 0x51d204
mov edi, 0x548874
call fcn.004190d0
mov ecx, dword [esp + 0x34]
push ecx
push 0x51d20c
mov edi, 0x548878
call fcn.004190d0
mov edx, dword [0x548878]
mov eax, dword [0x548874]
mov ecx, dword [0x548870]
push edx
mov edx, dword [0x54886c]
push eax
push ecx
push edx
push str._s._s._s._s
mov edi, 0x548884
call fcn.004190d0
mov eax, dword [0x548884]
push eax
push 0x51d22c
mov ecx, 0x548980
call fcn.004dfa90
mov ecx, dword [0x548878]
mov edx, dword [0x548874]
mov eax, dword [0x548870]
push ecx
mov ecx, dword [0x54886c]
push edx
push eax
push ecx
push str.tod1:_ws_tod2:_ws_tod3:_ws_tod4:_ws
mov ecx, 0x548980
call fcn.004dfa90
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 0x42eea5
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 0x42eecc
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.004ea83a
add esp, 0x234
ret