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

Disassembly:
push 0xffffffffffffffff
push 0x4d1611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4fec00
mov byte [esp + 0x17], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4fec28]
push 0x4fec00
call ebx
mov ecx, dword [0x4fec18]
lea eax, [esp + 0x13]
push eax
mov eax, esi
push 0x4de178
lea esi, [esp + 0x100]
call fcn.004116a0
xor ebp, ebp
push 0x4fec00
mov dword [esp + 0x130], ebp
mov dword [esp + 0x18], ebp
call edi
mov esi, dword [0x4fec28]
push 0x4fec00
call ebx
cmp esi, ebp
jbe 0x425a21
mov dword [esp + 0x80], 0x4fec00
jmp 0x4253f6
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4fec00
call edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
mov eax, 0x4fec00
mov byte [esp + 0x130], 1
call fcn.00411670
mov edx, dword [esp + 0x134]
mov byte [esp + 0x12c], 2
mov edi, dword [esp + 0x2c]
lea ebx, [edi + 0x508]
mov dword [esp + 0x34], edx
call fcn.00457040
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
movzx eax, word [ebx + 0x28]
movzx ecx, ax
xor ebp, ebp
cmp ecx, ebp
mov edx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edx
jl 0x425990
cmp edx, ecx
jne 0x425808
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xf4], ebp
push 0xf
mov byte [esp + 0x130], 3
call fcn.0049e995
mov esi, 4
mov dword [eax], 1
mov dword [eax + 4], esi
mov ecx, dword [0x4de1c0]
add esp, 4
mov dword [esp + 0x54], eax
mov dword [eax + 8], ecx
mov dword [esp + 0x40], eax
push 0xf
mov byte [esp + 0x130], 4
call fcn.0049e995
mov dword [eax], 1
mov dword [eax + 4], esi
mov edx, dword [0x4de1bc]
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [eax + 8], edx
mov dword [esp + 0x5c], eax
mov byte [esp + 0x12c], 5
mov esi, dword [esp + 0x30]
cmp esi, ebp
jne 0x4254f4
mov eax, dword [ebx]
lea esi, [edi + 0x508]
push eax
call fcn.00456db0
mov dword [esp + 0x30], eax
mov esi, eax
mov eax, dword [esi + 4]
push ebp
push eax
lea eax, [esp + 0x60]
call fcn.00443520
mov ebp, eax
mov byte [esp + 0x12c], 6
mov eax, dword [esi + 0x44]
add edi, 0x4b0
mov dword [esp + 0x1c], edi
call fcn.00403120
mov ebx, eax
test ebx, ebx
je 0x42553e
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425527
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
test edi, edi
jne 0x425542
xor esi, esi
jmp 0x425567
lea ecx, [edi + 0xb]
push ecx
call fcn.0049e995
add esp, 4
mov esi, eax
push edi
lea edx, [esi + 8]
push ebx
push edx
mov dword [esi], 1
mov dword [esi + 4], edi
call fcn.004a7df0
add esp, 0xc
mov dword [esp + 0x60], esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x138], 7
call fcn.004907a0
push ebp
lea ecx, [esp + 0x48]
push ecx
push eax
mov byte [esp + 0x138], 8
call fcn.004907a0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
mov byte [esp + 0x138], 9
call fcn.004907a0
mov edi, eax
mov byte [esp + 0x12c], 0xa
mov eax, dword [esp + 0xcc]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x4255e0
push eax
mov ebp, eax
call ebx
test eax, eax
jne 0x4255e0
push ebp
call fcn.0049e96f
add esp, 4
mov edi, dword [edi]
mov dword [esp + 0xcc], edi
test edi, edi
je 0x4255f4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x12c], 9
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x425616
push eax
mov edi, eax
call ebx
test eax, eax
jne 0x425616
push edi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x12c], 8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x425638
push eax
mov edi, eax
call ebx
test eax, eax
jne 0x425638
push edi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x12c], 7
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42565a
push eax
mov edi, eax
call ebx
test eax, eax
jne 0x42565a
push edi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x12c], 6
test esi, esi
je 0x425676
push esi
call ebx
test eax, eax
jne 0x425676
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x12c], 5
mov eax, dword [esp + 0x58]
test eax, eax
je 0x425698
push eax
mov esi, eax
call ebx
test eax, eax
jne 0x425698
push esi
call fcn.0049e96f
add esp, 4
mov esi, dword [esp + 0x3c]
push esi
mov byte [esp + 0x130], 4
call ebx
test eax, eax
jne 0x4256b4
push esi
call fcn.0049e96f
add esp, 4
mov esi, dword [esp + 0x54]
push esi
mov byte [esp + 0x130], 3
call ebx
test eax, eax
jne 0x4256d0
push esi
call fcn.0049e96f
add esp, 4
lea edx, [esp + 0xcc]
push edx
lea ebx, [esp + 0x78]
mov dword [esp + 0xf0], 0
mov byte [esp + 0xf4], 0
call fcn.00427a80
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x42575b
call fcn.0049f380
xor eax, eax
mov ebx, dword [esp + 0x78]
cmp ebx, dword [eax + 0x18]
jne 0x425711
call fcn.0049f380
add ebx, 0xc
cmp byte [esp + 0x7c], 0
je 0x4257ed
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x40]
mov edi, dword [esp + 0x1c]
call fcn.00403120
mov ebp, eax
test ebp, ebp
je 0x425757
lea edx, [eax + 2]
jmp 0x425740
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425740
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
test edi, edi
jne 0x42575f
xor esi, esi
jmp 0x425784
mov eax, dword [eax]
jmp 0x425703
lea ecx, [edi + 0xb]
push ecx
call fcn.0049e995
add esp, 4
mov esi, eax
push edi
lea edx, [esi + 8]
push ebp
push edx
mov dword [esi], 1
mov dword [esi + 4], edi
call fcn.004a7df0
add esp, 0xc
mov dword [esp + 0x1c], esi
mov byte [esp + 0x12c], 0xb
mov edi, dword [ebx + 0x28]
test edi, edi
je 0x4257ab
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4257ab
push edi
call fcn.0049e96f
add esp, 4
mov dword [ebx + 0x28], esi
test esi, esi
je 0x4257b9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x12c], 3
test esi, esi
je 0x4257d9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4257d9
push esi
call fcn.0049e96f
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
lea eax, [esp + 0xcc]
push eax
mov esi, ebx
mov byte [esp + 0x130], 2
call fcn.00425220
xor ebp, ebp
jmp 0x425831
movzx eax, word [ebx + 0x28]
cmp edx, eax
jae 0x42594f
mov eax, dword [ebx + edx*4 + 0x34]
cmp eax, ebp
je 0x42594f
mov ecx, dword [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00424ff0
mov esi, eax
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x88], esi
call fcn.00428d30
or eax, 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], ebp
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x84]
push eax
add ecx, 4
push ecx
lea ebx, [esp + 0x6c]
mov byte [esp + 0x134], 0xc
call fcn.00426800
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4258f0
call fcn.0049f380
xor eax, eax
mov esi, dword [esp + 0x68]
cmp esi, dword [eax + 0x18]
jne 0x4258b0
call fcn.0049f380
cmp byte [esp + 0x6c], 0
mov edi, dword [esp + 0x28]
lea eax, [esi + 0x10]
je 0x4258d7
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
cmp dword [esp + 0x18], 0
jne 0x425900
inc dword [eax + 0x40]
cmp dword [edi + 0x24], 0x103
jne 0x4258f4
xor ecx, ecx
xor edx, edx
jmp 0x4258fa
mov eax, dword [eax]
jmp 0x4258a2
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
add dword [eax + 0x38], ecx
adc dword [eax + 0x3c], edx
cmp byte [esp + 0x13], 0
mov dword [esp + 0x34], eax
jne 0x42595e
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], eax
mov esi, eax
mov byte [esp + 0x12c], 0xe
call fcn.00429050
mov byte [esp + 0x12c], 2
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0049e96f
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add esp, 4
xor ebp, ebp
sub edx, 1
mov dword [esp + 0x18], edx
jns 0x42545d
jmp 0x425990
lea edx, [esp + 0x88]
mov dword [esp + 0x38], edx
mov esi, edx
mov byte [esp + 0x12c], 0xd
call fcn.00429050
mov byte [esp + 0x12c], 2
mov eax, dword [esp + 0x88]
push eax
call fcn.0049e96f
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4fec00
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4fec28]
push 0x4fec00
call edi
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0xf8], esi
mov dword [esp + 0x20], vtable.CEventRef.0
lea ecx, [esp + 0x20]
jne 0x425a0d
call fcn.00405d80
push 0x4fec00
mov byte [esp + 0x130], 0
call edi
inc dword [esp + 0x14]
push 0x4fec00
call ebx
mov esi, dword [0x4fec28]
push 0x4fec00
call edi
cmp dword [esp + 0x14], esi
jb 0x4253f0
jmp 0x425a21
call fcn.00405d80
push 0x4fec00
mov byte [esp + 0x130], 0
call edi
mov edx, dword [esp + 0x134]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.004252a0
cmp byte [esp + 0x13], 0
lea eax, [esp + 0xf8]
sete bl
mov dword [esp + 0x12c], 0xffffffff
call fcn.00411790
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret 4