Function at 0x423f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d1b67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
push edi
mov byte [esp + 0x17], 0
call ebx
mov esi, dword [edi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x18]
lea eax, [esp + 0x13]
push eax
mov eax, esi
push 0x4de0b4
lea esi, [esp + 0x94]
call fcn.004116a0
xor esi, esi
push edi
mov dword [esp + 0x114], esi
mov dword [esp + 0x1c], esi
call ebx
mov ebp, dword [edi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
jbe 0x4242e1
mov dword [esp + 0x34], edi
nop
push edi
call ebx
push esi
lea ecx, [esp + 0x24]
mov eax, edi
mov byte [esp + 0x114], 1
call fcn.00411670
mov ebp, dword [esp + 0x28]
mov eax, 3
cmp dword [ebp + 8], eax
jne 0x42427b
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x110], al
lea eax, [esp + 0x1c]
or ecx, 0xffffffff
lea edx, [esp + 0x20]
call fcn.0040b9b0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
cmp edi, esi
je 0x424087
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0xb4], edi
cmp edi, esi
je 0x424099
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x44]
lea esi, [esp + 0xbc]
call fcn.00428460
mov edx, dword [esp + 0x11c]
lea ecx, [esp + 0xb4]
push ecx
push edx
lea ebx, [esp + 0x40]
mov byte [esp + 0x118], 5
call fcn.00427540
lea eax, [esp + 0xb4]
mov bl, 4
push eax
mov byte [esp + 0x114], bl
call fcn.00424380
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, edi
jne 0x42410f
call fcn.0049f380
xor eax, eax
mov esi, dword [esp + 0x3c]
cmp esi, dword [eax + 0x18]
jne 0x4240ff
call fcn.0049f380
mov edx, 0x103
cmp dword [ebp + 0x24], edx
jne 0x424113
xor eax, eax
xor ecx, ecx
jmp 0x424119
mov eax, dword [eax]
jmp 0x4240f1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
add dword [esi + 0x20], eax
adc dword [esi + 0x24], ecx
mov ecx, 1
add dword [esi + 0x28], ecx
movzx eax, word [ebp + 0xc]
add eax, 0xffffffec
cmp eax, 0x15
ja case.0x42413e.21
movzx eax, byte [eax + 0x424344]
jmp dword [eax*4 + 0x424320]
add dword [esi + 0x58], ecx
cmp dword [ebp + 0x24], edx
jne 0x42415c
xor eax, eax
xor ebp, ebp
sub dword [esi + 0x20], eax
sbb dword [esi + 0x24], ebp
jmp 0x424226
mov eax, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
sub dword [esi + 0x20], eax
sbb dword [esi + 0x24], ebp
jmp 0x424226
add dword [esi + 0x38], ecx
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
lea edx, [esp + 0x20]
mov byte [esp + 0x110], 6
call fcn.0040b9b0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x424198
lea eax, [edi + 8]
test eax, eax
jne 0x42419d
mov eax, 0x4d9064
call fcn.00442ee0
add dword [esi + 0x48], eax
adc dword [esi + 0x4c], edx
mov byte [esp + 0x110], bl
test edi, edi
je 0x424226
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x424226
push edi
call fcn.0049e96f
add esp, 4
jmp 0x424226
add dword [esi + 0x34], ecx
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
lea edx, [esp + 0x20]
mov byte [esp + 0x110], 7
call fcn.0040b9b0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4241f4
lea eax, [edi + 8]
test eax, eax
jne 0x4241f9
mov eax, 0x4d9064
call fcn.00442ee0
add dword [esi + 0x40], eax
adc dword [esi + 0x44], edx
jmp 0x4241a8
add dword [esi + 0x2c], ecx
jmp 0x424226
add dword [esi + 0x50], ecx
jmp 0x424226
add dword [esi + 0x54], ecx
jmp 0x424226
cmp byte [0x4ff0f2], 0
jne 0x424226
add dword [esi + 0x30], ecx
jmp 0x424226
add dword [esi + 0x58], ecx
mov byte [esp + 0x110], 3
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x42424a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42424a
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x110], 2
test esi, esi
je 0x42426a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42426a
push esi
call fcn.0049e96f
add esp, 4
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call ebx
mov ecx, dword [edi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov dword [esp + 0x18], ecx
call ebp
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x20], vtable.CEventRef.0
lea ecx, [esp + 0x20]
jne 0x4242d9
call fcn.00405d80
push edi
call ebp
inc esi
push edi
mov dword [esp + 0x1c], esi
call ebx
mov eax, dword [edi + 0x28]
push edi
mov dword [esp + 0x18], eax
call ebp
cmp esi, dword [esp + 0x14]
jb 0x423ff0
jmp 0x4242e1
call fcn.00405d80
push edi
call ebp
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x8c]
sete bl
mov dword [esp + 0x110], 0xffffffff
call fcn.00411790
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 8