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

Disassembly:
push 0xffffffffffffffff
push 0x4b17a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
add ecx, 0xe4
push ecx
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
mov ebx, dword [esp + 0x7c]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x74], 0
call fcn.00414560
mov edi, dword [esp + 0x14]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx]
test edi, edi
je 0x41841b
cmp edi, eax
je 0x418420
call fcn.004948d8
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x41865f
test edi, edi
jne 0x41860e
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x418445
call fcn.004948d8
mov ebp, dword [esp + 0x78]
mov dword [esi + 0x20], ebp
test edi, edi
jne 0x418615
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x418465
call fcn.004948d8
xor eax, eax
add dword [esi + 0x28], ebp
lea edx, [esp + 0x7c]
push edx
adc dword [esi + 0x2c], eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040a650
mov byte [esp + 0x6c], 1
test edi, edi
jne 0x41861c
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4184a1
call fcn.004948d8
lea ebp, [esi + 0x10]
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00416af0
test edi, edi
jne 0x418623
call fcn.004948d8
cmp esi, dword [edi + 0x18]
jne 0x4184ca
call fcn.004948d8
add ebp, 0xc
push ebp
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.00414560
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx]
test edi, edi
je 0x4184ec
cmp edi, eax
je 0x4184f1
call fcn.004948d8
cmp esi, ebp
je 0x418651
test edi, edi
jne 0x41862a
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x418512
call fcn.004948d8
test edi, edi
jne 0x418631
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41852b
call fcn.004948d8
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x418651
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x418638
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41855c
call fcn.004948d8
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.004144d0
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x41857b
cmp eax, ebx
je 0x418580
call fcn.004948d8
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 4], ecx
jne 0x418651
test edi, edi
jne 0x41863f
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4185a6
call fcn.004948d8
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00416af0
test edi, edi
jne 0x418646
call fcn.004948d8
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4185d1
call fcn.004948d8
mov ecx, dword [esp + 0x78]
add dword [esi + 0x28], ecx
mov eax, 0
adc dword [esi + 0x2c], eax
test edi, edi
jne 0x41864d
call fcn.004948d8
cmp esi, dword [edi + 0x18]
jne 0x4185f3
call fcn.004948d8
mov ecx, dword [esp + 0x7c]
add esi, 0x1c
push esi
lea edx, [esp + 0x30]
push edx
call fcn.00414560
mov ebx, dword [esp + 0x7c]
jmp 0x4184da
mov eax, dword [edi]
jmp 0x41843b
mov eax, dword [edi]
jmp 0x41845b
mov eax, dword [edi]
jmp 0x418497
mov edi, dword [edi]
jmp 0x4184c0
mov eax, dword [edi]
jmp 0x418508
mov eax, dword [edi]
jmp 0x418521
mov eax, dword [edi]
jmp 0x418552
mov eax, dword [edi]
jmp 0x41859c
mov eax, dword [edi]
jmp 0x4185c7
mov edi, dword [edi]
jmp 0x4185e9
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0
call fcn.00404be0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc