Function at 0x4c0e10
Capabilities:
Check for time delay via queryperformancecounter
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push esi
push edi
mov edi, ecx
mov ecx, dword [0x569c90]
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x194], eax
mov dword [esp + 0x40], eax
call fcn.0040d100
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 1
call fcn.0040d100
mov esi, dword [ebp + 8]
push ecx
mov edx, esp
mov dword [esp + 0xc], esp
push edx
mov ecx, esi
mov byte [esp + 0x19c], 2
call fcn.004a5480
mov ecx, esi
mov byte [esp + 0x198], 2
call fcn.004ae740
push eax
mov ecx, esi
call fcn.004b8f60
push eax
call fcn.0049a2d0
add esp, 0xc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov ecx, edi
push 1
push 0
push eax
push esi
mov dword [esp + 0x38], 0
call fcn.004ae770
mov edi, eax
mov ecx, edi
and ecx, 0xffff0000
cmp ecx, 0x10000
je 0x4c0f2f
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 1
call fcn.0040d280
lea ecx, [esp + 0x78]
mov byte [esp + 0x194], 0
call fcn.0040d280
lea ecx, [esp + 0x20]
mov dword [esp + 0x194], 0xffffffff
call fcn.00507d3a
mov eax, edi
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea edi, [esi + 0xc]
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x394]
test eax, eax
jne 0x4c0f62
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4c0f62
cmp eax, 0x10002
mov dword [esp + 0x14], 0
jne 0x4c0f6a
mov dword [esp + 0x14], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c1751
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x208]
xor eax, eax
and edx, 4
mov ecx, edi
cmp dl, 4
mov edx, dword [edi]
sete al
mov dword [esp + 8], eax
call dword [edx + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x4c106f
mov eax, dword [0x569c90]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 4
push ecx
push ecx
mov edx, esp
mov dword [esp + 0x10], esp
push edx
mov ecx, esi
call fcn.004a01d0
mov ecx, 0x571fb8
call fcn.00481f80
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.004a01d0
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call fcn.004f27d5
add esp, 8
lea ecx, [esp + 8]
test eax, eax
setne byte [esp + 0x47]
call fcn.00507d3a
mov al, byte [esp + 0x47]
test al, al
je 0x4c105e
mov edx, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x18], eax
add eax, 8
push eax
mov dword [esp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 8]
lea ecx, [esi + 0x20c]
push eax
mov byte [esp + 0x198], 5
call fcn.00507ec3
mov ecx, edi
mov byte [esp + 0x194], 4
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0
push 0
push 4
mov ecx, esi
call fcn.004d1c70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 2
call fcn.00507d3a
mov ecx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x20]
push 1
push eax
push esi
mov dword [esp + 0x2c], 0
call fcn.004ae770
mov dword [esp + 0xc], eax
and eax, 0xffff0000
cmp eax, 0x10000
je 0x4c113e
cmp dword [esp + 0xc], 0x30008
jne 0x4c1f67
lea ecx, [edi + 8]
mov dword [esp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esi + 0xd0]
lea ecx, [esi + 0x34]
push edx
mov byte [esp + 0x198], 6
call fcn.004610e0
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x194], 2
call dword [eax + 0x14]
test esi, esi
je 0x4c1f67
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 1
call fcn.0040d280
lea ecx, [esp + 0x78]
mov byte [esp + 0x194], 0
call fcn.0040d280
lea ecx, [esp + 0x20]
mov dword [esp + 0x194], 0xffffffff
call fcn.00507d3a
mov eax, 0x30007
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x394]
test eax, eax
jne 0x4c116e
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4c116e
cmp eax, 0x10002
mov dword [esp + 0x14], 0
jne 0x4c1176
mov dword [esp + 0x14], 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c1751
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
call fcn.004dfce0
cmp eax, 1
jne 0x4c11b7
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004dfce0
cmp eax, 1
mov dword [esp + 0x18], 1
je 0x4c11bf
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0xac]
push 1
push edx
push esi
call fcn.004b9f30
mov dword [esp + 0xc], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4c1f67
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x28]
push 1
mov dword [esp + 0xc], 0
call fcn.004e2c20
mov ecx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x7c]
push 0
push eax
push esi
call fcn.004b9f30
mov ecx, dword [esp + 0x28]
push 2
mov dword [esp + 0x10], eax
call fcn.004e2c20
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x394]
test eax, eax
jne 0x4c1256
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4c1256
cmp eax, 0x10002
mov dword [esp + 0x10], 0
jne 0x4c125e
mov dword [esp + 0x10], 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c1751
mov eax, dword [esp + 0xc]
cmp eax, 0x30007
jne 0x4c1286
mov dword [esp + 0x40], 0
jmp 0x4c12a9
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4c1f67
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c12a9
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0048d730
add esp, 4
mov dword [esp + 0x34], edx
lea edx, [edi + 8]
mov dword [esp + 0x30], eax
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], ecx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c1517
lea eax, [esp + 0x50]
lea ecx, [esp + 0xa8]
push eax
call fcn.0040d740
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0040d740
lea ecx, [esp + 0xa8]
call fcn.0040d760
test eax, eax
jg 0x4c1332
lea ecx, [esp + 0x78]
call fcn.0040d760
test eax, eax
jle 0x4c13bc
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4c1377
push 0
lea ecx, [esp + 0x54]
call fcn.004e9cc5
push eax
lea ecx, [esp + 0x58]
call fcn.004e9c63
push eax
lea ecx, [esp + 0x5c]
call fcn.004e9c39
push eax
lea ecx, [esp + 0x60]
call fcn.004e9c0f
push eax
lea ecx, [esp + 0x64]
call fcn.004e9be5
push eax
lea ecx, [esp + 0x68]
call fcn.004ea00e
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4c13bc
push 0
lea ecx, [esp + 0x60]
call fcn.004e9cc5
push eax
lea ecx, [esp + 0x64]
call fcn.004e9c63
push eax
lea ecx, [esp + 0x68]
call fcn.004e9c39
push eax
lea ecx, [esp + 0x6c]
call fcn.004e9c0f
push eax
lea ecx, [esp + 0x70]
call fcn.004e9be5
push eax
lea ecx, [esp + 0x74]
call fcn.004ea00e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x48]
push edx
push eax
push ecx
call fcn.0048d730
add esp, 4
push edx
push eax
sub esp, 0xc
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00417da0
lea ecx, [esp + 0xd0]
call fcn.00415c90
push eax
call fcn.0048d730
add esp, 4
push edx
push eax
sub esp, 0xc
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00417da0
mov ecx, dword [esp + 0x5c]
push esi
call fcn.004c4950
mov ecx, eax
xor edx, edx
and ecx, 0x4000
cmp ecx, 0x4000
sete dl
and ah, 0xbf
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4c1f67
mov eax, dword [0x5724c4]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4c1517
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jl 0x4c1517
mov ecx, dword [esp + 0x48]
jg 0x4c147b
test ecx, ecx
jbe 0x4c1517
cdq
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x4c]
cmp edx, eax
jl 0x4c149a
jg 0x4c1496
cmp dword [esp + 0xe0], ecx
jbe 0x4c149a
mov dword [esp + 0x10], ecx
mov edx, dword [0x569c90]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov byte [esp + 0x194], 7
push edx
push eax
push ecx
lea eax, [esp + 0x48]
push 0x1475
push eax
call fcn.005054ef
mov ecx, dword [esp + 0x50]
add esp, 0x14
push 1
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004de7c0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push 1
push edx
call fcn.004de7c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
cdq
sub ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
sbb eax, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x194], 2
call fcn.00507d3a
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x394]
test eax, eax
jne 0x4c1547
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4c1547
cmp eax, 0x10002
mov dword [esp + 0x10], 0
jne 0x4c154f
mov dword [esp + 0x10], 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c1751
mov eax, dword [esp + 8]
test eax, eax
jne 0x4c11f1
lea eax, [esp + 0xd8]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, esi
call fcn.004d4500
cmp eax, 1
je 0x4c15ab
mov ecx, esi
call fcn.004d4500
cmp eax, 2
je 0x4c15ab
mov ecx, esi
call fcn.004d4560
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x29c], 0x5f5e100
mov ecx, esi
call fcn.004d4500
cmp eax, 1
jne 0x4c172e
push eax
push 2
push 0x20005
mov ecx, esi
call fcn.004d1ed0
test eax, eax
je 0x4c1751
push 1
push 1
push 0x1415
mov ecx, esi
call fcn.004d2030
lea edx, [esp + 8]
push edx
call fcn.005057fa
mov eax, dword [eax]
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.004a01d0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0x198], 8
mov dword [esp + 0xc], eax
call fcn.004a5480
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x40]
push 1
push eax
push ecx
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x1b8], 9
call fcn.004c0470
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov byte [esp + 0x194], 8
call fcn.00507d3a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x194], 2
call fcn.00507d3a
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 8]
push eax
call fcn.005057fa
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
cmp eax, 0x30002
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 1
je 0x4c16c5
cmp eax, 0x30007
jne 0x4c172e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.004c1fc0
mov ecx, esi
call fcn.004d4530
push 1
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, dword [esp + 0x38]
push esi
call fcn.004ae770
mov dword [esp + 0xc], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4c1f67
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x20]
push 1
push edx
push esi
call fcn.004ae770
mov dword [esp + 0xc], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4c1f67
mov ecx, esi
call fcn.004d4500
cmp eax, 2
jne 0x4c1899
push 1
push eax
push 0x20005
mov ecx, esi
call fcn.004d1ed0
test eax, eax
jne 0x4c17a5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 1
call fcn.0040d280
lea ecx, [esp + 0x78]
mov byte [esp + 0x194], 0
call fcn.0040d280
lea ecx, [esp + 0x20]
mov dword [esp + 0x194], 0xffffffff
call fcn.00507d3a
mov eax, 0x30004
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
push 1
push 0x1412
mov ecx, esi
call fcn.004d2030
lea eax, [esp + 8]
push eax
call fcn.005057fa
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004a01d0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
mov dword [esp + 8], ecx
push edx
mov ecx, esi
mov byte [esp + 0x198], 0xa
call fcn.004a5480
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
mov byte [esp + 0x1b8], 0xb
call fcn.004c0470
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov byte [esp + 0x194], 0xa
call fcn.00507d3a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x194], 2
call fcn.00507d3a
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 8]
push edx
call fcn.005057fa
mov eax, dword [eax]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
cmp eax, 0x30002
je 0x4c188a
cmp eax, 0x30007
jne 0x4c1899
mov ecx, esi
call fcn.004d4530
mov dword [esp + 0xc], 0x30007
mov ecx, dword [esp + 0xc]
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x4c1a61
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x254]
mov eax, dword [esi + 0x250]
mov edx, dword [edi]
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x30], eax
call dword [edx + 0x14]
push 0xf4240
push 0
push edi
lea ecx, [esp + 0x20]
call fcn.004295c0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x25c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x258], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
sub eax, edx
test eax, eax
mov dword [esp + 8], eax
jg 0x4c191c
mov dword [esp + 8], 1
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x250]
mov edx, dword [esi + 0x254]
mov eax, dword [edi]
mov dword [esp + 0x30], ecx
mov ecx, edi
mov dword [esp + 0x34], edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub ecx, edx
mov edx, dword [esp + 0x6c]
push 0
sbb edx, eax
push 0xf4240
push edx
push ecx
call fcn.004f2ba0
mov ecx, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xdc]
push ecx
push edx
push eax
call fcn.004f4230
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x30]
push 0
push 0xf4240
push edx
push eax
call fcn.004f2ba0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x18], eax
mov eax, edi
cdq
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call fcn.004f4230
lea edi, [esi + 0xc]
mov dword [esp + 0x18], eax
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, edi
mov dword [esi + 0x268], eax
mov edx, dword [edi]
call dword [edx + 0x14]
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x21c]
and eax, 0xfff
cmp eax, 0x1a
je 0x4c19f5
cmp eax, 0x1b
je 0x4c19f5
mov eax, dword [esp + 8]
mov dword [esi + 0x274], eax
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x194], 2
call dword [edx + 0x14]
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x208]
mov eax, dword [edi]
and ecx, 0x10
xor edx, edx
cmp cl, 0x10
mov ecx, edi
sete dl
mov dword [esp + 8], edx
call dword [eax + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x4c1a61
mov ecx, esi
call fcn.004d3840
test eax, eax
jne 0x4c1a61
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov ecx, esi
call fcn.004a5480
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1ca8
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.004e2710
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x198], 0xd
call fcn.004dedd0
push eax
lea ecx, [esp + 0x38]
call fcn.0040dc00
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0xf
call fcn.00507d3a
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
call fcn.004a01d0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
push edx
call fcn.0040dde0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x194], 0x10
call fcn.004608a0
mov eax, edi
mov dword [esp + 0x24], eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0xd0]
lea ecx, [esp + 0xe8]
push eax
mov byte [esp + 0x198], 0x12
call fcn.00461150
mov ecx, edi
mov byte [esp + 0x194], 0x11
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [0x569c90]
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 0x14
call fcn.004b07f0
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00507aaf
call fcn.0040e680
add esp, 0x10
test eax, eax
je 0x4c1b9a
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004afda0
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0xec]
push eax
push ecx
push edx
mov byte [esp + 0x1a4], 0x15
call fcn.00409ba0
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x194], 0x14
call fcn.00507d3a
lea ecx, [esp + 8]
mov byte [esp + 0x194], 0x13
call fcn.00507d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 0x11
call fcn.00507d3a
lea eax, [esp + 0x14c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x194], 0x1b
call fcn.00507d3a
lea ecx, [esp + 0x14c]
mov byte [esp + 0x194], 0x1a
call fcn.00507d3a
lea ecx, [esp + 0x148]
mov byte [esp + 0x194], 0x19
call fcn.00507d3a
lea ecx, [esp + 0x144]
mov byte [esp + 0x194], 0x18
call fcn.00507d3a
lea ecx, [esp + 0x140]
mov byte [esp + 0x194], 0x17
call fcn.00507d3a
lea ecx, [esp + 0x124]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x130]
mov byte [esp + 0x194], 0x1d
call fcn.00507d3a
lea ecx, [esp + 0x12c]
mov byte [esp + 0x194], 0x1c
call fcn.00507d3a
lea ecx, [esp + 0x128]
mov byte [esp + 0x194], 0x16
call fcn.00507d3a
lea ecx, [esp + 0xec]
mov byte [esp + 0x194], 0x10
call fcn.00404d90
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0xf
call fcn.00507d3a
lea ecx, [esp + 0x30]
mov byte [esp + 0x194], 2
call fcn.00507d3a
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c1f43
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
call fcn.004e2710
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x198], 0x1e
call fcn.004dedd0
push eax
lea ecx, [esp + 0x38]
call fcn.0040dc00
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0x20
call fcn.00507d3a
push 0
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
call fcn.004a5480
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040dde0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x194], 0x21
call fcn.004608a0
lea edx, [edi + 8]
mov dword [esp + 0x10], edi
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x34]
lea ecx, [esp + 0xe8]
push eax
mov byte [esp + 0x198], 0x23
call fcn.00461150
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x194], 0x22
call dword [edx + 0x14]
mov eax, dword [0x569c90]
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x19c], 0x25
call fcn.004ae740
push eax
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, esi
call fcn.004a5480
call fcn.0040e680
add esp, 0x10
test eax, eax
je 0x4c1dda
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004afda0
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0xec]
push eax
push ecx
push edx
mov byte [esp + 0x1a4], 0x26
call fcn.00409ba0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0x25
call fcn.00507d3a
lea ecx, [esp + 8]
mov byte [esp + 0x194], 0x24
call fcn.00507d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 0x22
call fcn.00507d3a
lea eax, [esp + 0x14c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x194], 0x2c
call fcn.00507d3a
lea ecx, [esp + 0x14c]
mov byte [esp + 0x194], 0x2b
call fcn.00507d3a
lea ecx, [esp + 0x148]
mov byte [esp + 0x194], 0x2a
call fcn.00507d3a
lea ecx, [esp + 0x144]
mov byte [esp + 0x194], 0x29
call fcn.00507d3a
lea ecx, [esp + 0x140]
mov byte [esp + 0x194], 0x28
call fcn.00507d3a
lea ecx, [esp + 0x124]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x130]
mov byte [esp + 0x194], 0x2e
call fcn.00507d3a
lea ecx, [esp + 0x12c]
mov byte [esp + 0x194], 0x2d
call fcn.00507d3a
lea ecx, [esp + 0x128]
mov byte [esp + 0x194], 0x27
call fcn.00507d3a
lea edx, [esp + 0xec]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x110]
mov byte [esp + 0x194], 0x32
call fcn.00506597
lea ecx, [esp + 0x10c]
mov byte [esp + 0x194], 0x31
call fcn.00507d3a
lea ecx, [esp + 0xfc]
mov byte [esp + 0x194], 0x30
call fcn.00507d3a
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x2f
call fcn.00507d3a
lea ecx, [esp + 0xf4]
mov byte [esp + 0x194], 0x21
call fcn.00507d3a
lea ecx, [esp + 0x40]
mov byte [esp + 0x194], 0x20
call fcn.00507d3a
lea ecx, [esp + 0x30]
mov byte [esp + 0x194], 2
call fcn.00507d3a
mov eax, dword [esp + 0xc]
and eax, 0xffff0000
cmp eax, 0x10000
je 0x4c1f67
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push esi
call fcn.004c1fc0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 1
call fcn.0040d280
lea ecx, [esp + 0x78]
mov byte [esp + 0x194], 0
call fcn.0040d280
lea ecx, [esp + 0x20]
mov dword [esp + 0x194], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4