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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x490c57
mov eax, dword [esi]
test eax, eax
je 0x490704
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x49071b
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x490732
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x490749
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x490760
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490777
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x1c]
mov byte [esi + 0x18], 0
test eax, eax
je 0x490792
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4907a9
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4907c0
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4907d7
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4907ee
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x34]
mov byte [esi + 0x30], 0
test eax, eax
je 0x490809
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x34], 0
mov ecx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ebx, dword [esi + 0x38]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x490906
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490886
push dword [eax + 4]
call ecx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x49087f
push dword [eax + 4]
call edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x49087f
mov eax, dword [edi + 4]
test eax, eax
je 0x490861
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 4]
call fcn.006e60fe
add esp, 4
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x490876
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
push edi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x14], 0
mov eax, dword [ebx]
test eax, eax
je 0x49089b
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx], 0
mov edi, dword [ebx + 8]
test edi, edi
je 0x4908ca
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], edi
test eax, eax
je 0x4908b8
mov ecx, dword [edi]
test ecx, ecx
je 0x4908b8
push ecx
call eax
add esp, 4
push dword [ebp + 8]
mov edi, dword [edi + 8]
call fcn.006e60fe
add esp, 4
test edi, edi
jne 0x4908a2
push ebx
mov byte [ebx + 0x10], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
call fcn.006e60fe
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x38], 0
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x4909e9
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490975
push dword [eax + 4]
call ecx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x49096e
push dword [eax + 4]
call edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x49096e
mov eax, dword [edi + 4]
test eax, eax
je 0x490950
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 4]
call fcn.006e60fe
add esp, 4
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x490965
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
push edi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x14], 0
mov eax, dword [ebx]
test eax, eax
je 0x49098a
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx], 0
mov edi, dword [ebx + 8]
test edi, edi
je 0x4909b9
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], edi
test eax, eax
je 0x4909a7
mov ecx, dword [edi]
test ecx, ecx
je 0x4909a7
push ecx
call eax
add esp, 4
push dword [ebp + 8]
mov edi, dword [edi + 8]
call fcn.006e60fe
add esp, 4
test edi, edi
jne 0x490991
push ebx
mov byte [ebx + 0x10], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x3c], 0
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x490ad8
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490a60
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490a59
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x490a59
mov eax, dword [edi + 4]
test eax, eax
je 0x490a3b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 4]
call fcn.006e60fe
add esp, 4
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x490a50
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
push edi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x14], 0
mov eax, dword [ebx]
test eax, eax
je 0x490a75
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx], 0
mov edi, dword [ebx + 8]
test edi, edi
je 0x490aa8
nop dword [eax]
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], edi
test eax, eax
je 0x490a96
mov ecx, dword [edi]
test ecx, ecx
je 0x490a96
push ecx
call eax
add esp, 4
push dword [ebp + 8]
mov edi, dword [edi + 8]
call fcn.006e60fe
add esp, 4
test edi, edi
jne 0x490a80
push ebx
mov byte [ebx + 0x10], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x40], 0
mov ebx, dword [esi + 0x44]
test ebx, ebx
je 0x490bc8
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490b4f
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x490b48
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x490b48
mov eax, dword [edi + 4]
test eax, eax
je 0x490b2a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 4]
call fcn.006e60fe
add esp, 4
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x490b3f
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
push edi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x14], 0
mov eax, dword [ebx]
test eax, eax
je 0x490b64
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx], 0
mov edi, dword [ebx + 8]
test edi, edi
je 0x490b98
nop dword [eax + eax]
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], edi
test eax, eax
je 0x490b86
mov ecx, dword [edi]
test ecx, ecx
je 0x490b86
push ecx
call eax
add esp, 4
push dword [ebp + 8]
mov edi, dword [edi + 8]
call fcn.006e60fe
add esp, 4
test edi, edi
jne 0x490b70
push ebx
mov byte [ebx + 0x10], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x44], 0
lea eax, [esi + 0x48]
push eax
call fcn.006da4f0
lea eax, [esi + 0x58]
push eax
call fcn.006da4f0
lea eax, [esi + 0x68]
push eax
call fcn.006da4f0
lea eax, [esi + 0x78]
push eax
call fcn.006da4f0
lea eax, [esi + 0x88]
push eax
call fcn.006da4f0
lea eax, [esi + 0x98]
push eax
call fcn.006da4f0
lea eax, [esi + 0xa8]
push eax
call fcn.006da4f0
lea eax, [esi + 0xb8]
push eax
call fcn.006da4f0
lea eax, [esi + 0xc8]
push eax
call fcn.006da4f0
lea eax, [esi + 0xd8]
push eax
call fcn.006da4f0
lea eax, [esi + 0xe8]
push eax
call fcn.006da4f0
lea eax, [esi + 0xf8]
push eax
call fcn.006da4f0
push esi
call fcn.006e60fe
add esp, 0x34
pop edi
pop ebx
pop esi
pop ebp
ret