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

Disassembly:
push 0xffffffffffffffff
push 0x524b9c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
mov esi, ecx
mov dword [esp + 0x24], 0
mov edi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ebx, [esi + 0x2c]
push ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
call edi
mov byte [esp + 0x2c], 1
mov eax, 1
xor ecx, ecx
mov dword [ebp + 0x14], 7
mov dword [ebp + 0x10], 0
mov dword [esp + 0x74], eax
mov word [ebp], cx
mov dword [esp + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x41cb4d
mov edx, dword [esp + 0x80]
cmp edx, dword [eax]
je 0x41c9a6
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x41c98f
jmp 0x41cb4d
test eax, eax
je 0x41cb4d
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x41cb4d
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b5ff
mov dword [esp + 0x20], eax
mov eax, dword [0x5a052c]
lea ebx, [eax + 0x2c]
add esp, 4
push ebx
mov esi, eax
mov dword [esp + 0x34], ebx
call edi
mov byte [esp + 0x34], 1
mov eax, dword [esi]
xor edi, edi
mov byte [esp + 0x74], 2
cmp eax, edi
je 0x41cad3
jmp 0x41ca0b
mov ecx, dword [esp + 0x80]
cmp ecx, dword [eax]
je 0x41ca22
mov eax, dword [eax + 0x18]
cmp eax, edi
jne 0x41ca0b
jmp 0x41cad3
cmp eax, edi
je 0x41cad3
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
cmp dword [eax + 0x10], edi
je 0x41ca5d
mov dword [esp + 0x58], 0x7b3cf1a9
mov dword [esp + 0x5c], 0x2ac70439
mov dword [esp + 0x60], 0xfa19bf6d
mov dword [esp + 0x64], 0x72fae3b5
lea esi, [esp + 0x58]
jmp 0x41ca8b
cmp dword [eax + 0x14], edi
je 0x41ca88
mov dword [esp + 0x3c], 0x2c4de106
mov dword [esp + 0x40], 0x51f60f38
mov dword [esp + 0x44], 0x2cab0be6
mov dword [esp + 0x48], 0x2206124e
lea esi, [esp + 0x3c]
jmp 0x41ca8b
mov esi, dword [esi + 8]
push esi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0041b30b
add esp, 0x14
test al, al
je 0x41cad3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
ja 0x41cac7
mov ecx, dword [esp + 0x1c]
push eax
push esi
push ecx
call fcn.0046bc9b
add esp, 0xc
lea eax, [esi - 4]
push eax
call fcn.0046d412
add esp, 4
push ebx
mov byte [esp + 0x78], 1
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
xor edx, edx
mov eax, esi
mov word [esp + 0x3c], dx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41cafb
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00405a0b
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov byte [esp + 0x80], 3
call fcn.0040590b
cmp dword [esp + 0x50], 8
jb 0x41cb40
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0046c533
add esp, 4
push esi
call fcn.0046d412
mov ebx, dword [esp + 0x2c]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0046c68f
add esp, 0x64
ret 8