Function at 0x4c9370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esi + 0x370]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x58cbe8
lea edi, [esp + 0x28]
call fcn.00410c00
mov ecx, dword [esp + 0x28]
add esp, 8
push 0x59202c
push 0x6a4
lea ebp, [esi + 0x24]
push ebp
call fcn.0044fd30
mov eax, dword [esi + 0x370]
cdq
mov ecx, 0xa
idiv ecx
push edx
push 0x58cbe8
call fcn.00410c00
mov ecx, dword [esp + 0x28]
add esp, 8
push 0x59202c
push 0x6d6
push ebp
call fcn.0044fd30
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x58], 1
mov ecx, dword [esi + 0x374]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push 0x58cbe8
lea edi, [esp + 0x24]
call fcn.00410c00
mov ecx, dword [esp + 0x24]
add esp, 8
push 0x59202c
push 0x708
push ebp
call fcn.0044fd30
mov eax, dword [esi + 0x374]
cdq
mov ecx, 0xa
idiv ecx
push edx
push 0x58cbe8
call fcn.00410c00
mov ecx, dword [esp + 0x24]
add esp, 8
push 0x59202c
push 0x73a
push ebp
call fcn.0044fd30
push ebx
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
mov edi, dword [sym.imp.MSVCR80.dll__localtime64_s]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x30]
push eax
call edi
add esp, 8
cmp eax, ebx
jne 0x4c94df
mov eax, dword [esp + 0x34]
jmp 0x4c94e2
or eax, 0xffffffff
cmp dword [esi + 0x370], eax
jle 0x4c95a5
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esi + 0x38c], 1
call edi
add esp, 8
cmp eax, ebx
jne 0x4c9511
mov eax, dword [esp + 0x34]
jmp 0x4c9514
or eax, 0xffffffff
mov ecx, dword [esi + 0x370]
sub ecx, eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esi + 0x378], ecx
call edi
add esp, 8
cmp eax, ebx
jne 0x4c953b
mov eax, dword [esp + 0x30]
jmp 0x4c953e
or eax, 0xffffffff
cmp dword [esi + 0x374], eax
jl 0x4c957a
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call edi
add esp, 8
cmp eax, ebx
jne 0x4c956a
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x374]
sub ecx, eax
jmp 0x4c969c
mov ecx, dword [esi + 0x374]
or eax, 0xffffffff
sub ecx, eax
jmp 0x4c969c
add dword [esi + 0x378], 0xffffffff
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call edi
add esp, 8
cmp eax, ebx
jne 0x4c959d
mov eax, dword [esp + 0x30]
jmp 0x4c9691
or eax, 0xffffffff
jmp 0x4c9691
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call edi
add esp, 8
cmp eax, ebx
jne 0x4c95be
mov eax, dword [esp + 0x34]
jmp 0x4c95c1
or eax, 0xffffffff
cmp dword [esi + 0x370], eax
jge 0x4c9609
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esi + 0x38c], ebx
call edi
add esp, 8
cmp eax, ebx
jne 0x4c95f6
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x370]
sub ecx, eax
add ecx, 0x18
jmp 0x4c951c
mov ecx, dword [esi + 0x370]
or eax, 0xffffffff
sub ecx, eax
add ecx, 0x18
jmp 0x4c951c
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esi + 0x378], ebx
call edi
add esp, 8
cmp eax, ebx
jne 0x4c9628
mov eax, dword [esp + 0x30]
jmp 0x4c962b
or eax, 0xffffffff
cmp dword [esi + 0x374], eax
jle 0x4c9642
mov dword [esi + 0x38c], 1
jmp 0x4c9546
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esi + 0x38c], ebx
call edi
add esp, 8
cmp eax, ebx
jne 0x4c9661
mov eax, dword [esp + 0x30]
jmp 0x4c9664
or eax, 0xffffffff
cmp dword [esi + 0x374], eax
jne 0x4c967e
mov dword [esi + 0x378], 0x18
mov dword [esi + 0x37c], ebx
jmp 0x4c96a2
lea eax, [esp + 0x24]
mov dword [esi + 0x378], 0x17
call fcn.004c8e50
mov ecx, dword [esi + 0x374]
sub ecx, eax
add ecx, 0x3c
mov dword [esi + 0x37c], ecx
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x58], 2
mov eax, dword [esi + 0x378]
cmp eax, 0xa
jge 0x4c96f2
call fcn.004571c0
test eax, eax
lea edi, [esp + 0x18]
jne 0x4c96e4
mov ecx, dword [esi + 0x378]
push ecx
push 0x5a1d28
jmp 0x4c96fc
mov edx, dword [esi + 0x378]
push edx
push str.___d
jmp 0x4c96fc
push eax
push 0x58cbe8
lea edi, [esp + 0x20]
call fcn.00410c00
mov eax, dword [esp + 0x20]
add esp, 8
push eax
mov ecx, 0x76c
mov eax, ebp
call fcn.0046ea90
mov eax, dword [esi + 0x37c]
cmp eax, 0xa
jge 0x4c9749
call fcn.004571c0
test eax, eax
lea edi, [esp + 0x18]
jne 0x4c973b
mov ecx, dword [esi + 0x37c]
push ecx
push 0x5a1d28
jmp 0x4c9753
mov edx, dword [esi + 0x37c]
push edx
push str.___d
jmp 0x4c9753
push eax
push 0x58cbe8
lea edi, [esp + 0x20]
call fcn.00410c00
mov esi, dword [esp + 0x20]
add esp, 8
push esi
mov ecx, 0x79e
mov eax, ebp
call fcn.0046ea90
lea eax, [esi - 0x10]
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c978d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c97b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c97d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret