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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x41f920
mov edi, dword [ebp + 8]
mov eax, dword fs:[0]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x60], eax
call fcn.0041f520
xorps xmm0, xmm0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], eax
push edi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x6364b8]
mov eax, dword [eax]
test eax, 0x7fffffff
jne 0x41c6c9
mov dword [esi + 0x18], 0
movzx eax, byte [edi + 4]
test al, al
jne 0x41c6df
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41c510
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + 8]
lea eax, [edx + eax*4]
mov dword [esi + 0x38], eax
xor eax, eax
jmp 0x41c3f0
mov eax, dword [esi + 8]
add edx, 0xc
inc eax
cmp edx, dword [esi + 0x38]
je 0x41c510
mov dword [esi + 8], eax
mov eax, dword [edx]
mov dword [esi + 0x10], edx
mov dword [esi + 0x20], eax
mov eax, dword [eax + 0x14]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 1
mov dword [esi + 0x1c], eax
push 0
call fcn.00530a00
add esp, 4
test eax, eax
je 0x41c827
cmp dword [esi + 0x1c], eax
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x20]
je 0x41c3e0
mov ecx, dword [edx + 4]
xor eax, eax
lock cmpxchg dword [edi + 0xc], ecx
jne 0x41c3e0
mov eax, dword [edx + 8]
test eax, eax
je 0x41c43f
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
mov byte [esi + 7], 1
add eax, 8
push eax
call fcn.00515100
add esp, 4
mov byte [esi + 7], 1
push eax
call fcn.0052dfe0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edi, dword [ecx + 0x10]
cmp edi, eax
jbe 0x41c84a
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*2]
not eax
add eax, edi
shl eax, 2
lea ebx, [ecx + edx*4]
mov dword [esi + 0x20], ebx
mov ebx, dword [ecx + edx*4]
mov dword [esi + 0x10], ebx
mov ebx, dword [ecx + edx*4 + 4]
mov dword [esi + 0x38], ebx
mov ebx, dword [ecx + edx*4 + 8]
lea ecx, [ecx + edx*4 + 0xc]
lea edx, [eax + eax*2]
mov dword [esi + 0x1c], ebx
push edx
push ecx
push dword [esi + 0x20]
call fcn.005885b0
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [ebp + 8]
dec edi
test eax, eax
mov dword [ecx + 0x10], edi
je 0x41c510
mov ecx, dword [esi + 0x1c]
cmp byte [esi + 0x18], 0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x50], ecx
je 0x41c711
mov dword [esi + 0x78], 2
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41c743
cmp byte [eax], 0
je 0x41c74f
cmp byte [eax + 2], 0
mov byte [eax + 2], 0
je 0x41c85f
mov byte [eax + 1], 1
jmp 0x41c77d
mov edi, dword [ebp + 8]
cmp byte [edi + 0x38], 0
je 0x41c54d
cmp byte [esi + 0x18], 0
jne 0x41c538
mov eax, dword [0x6364b8]
mov eax, dword [eax]
mov dword [esi + 0x78], 0xffffffff
test eax, 0x7fffffff
jne 0x41c7b7
mov dword [esi + 0x78], 0xffffffff
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
jmp 0x41c7a5
lea eax, [esi + 0x40]
mov dword [esi + 0x78], 3
mov dword [esi + 0x24], eax
lea eax, [esi + 0x58]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esi + 0x34], al
push 0
call fcn.00530af0
add esp, 4
test eax, eax
je 0x41c5eb
mov edx, dword [eax]
mov dword [eax], 0
test edx, edx
je 0x41c62b
lea ecx, [esi + 0x24]
mov dword [esi + 8], eax
mov dword [esi + 0x3c], edx
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0x78], 6
mov dword [esi + 0x10], edx
call fcn.0041d090
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x10]
mov ecx, dword [edx]
mov dword [edx], edi
test ecx, ecx
mov dword [esi + 0x14], ecx
je 0x41c669
lock dec dword [ecx]
jne 0x41c669
lea ecx, [esi + 0x14]
mov byte [esi + 0xf], 0
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
jmp 0x41c669
call fcn.005b0640
lea ecx, [esi + 0x24]
mov edx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 4
mov dword [esi + 8], eax
call fcn.0041d090
mov ecx, dword [esi + 8]
lock dec dword [ecx]
jne 0x41c669
lea ecx, [esi + 0x14]
mov dword [esi + 0x78], 3
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
jmp 0x41c669
call fcn.005b0640
lea ecx, [esi + 0x24]
mov edx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 5
mov dword [esi + 8], eax
call fcn.0041d090
mov ecx, dword [esi + 8]
lock dec dword [ecx]
jne 0x41c669
lea ecx, [esi + 0x14]
mov dword [esi + 0x78], 3
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
movzx ecx, byte [esi + 0x34]
cmp cl, 2
je 0x41c7a5
mov edx, dword [esi + 0x30]
test cl, cl
mov byte [esi + 8], al
je 0x41c69b
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push edx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
movzx eax, byte [esi + 8]
jmp 0x41c7a5
mov eax, dword [0x6364b8]
mov eax, dword [eax]
mov dword [esi + 0x78], 1
test eax, 0x7fffffff
je 0x41c680
mov dword [esi + 0x10], edx
mov byte [esi + 7], 0
call fcn.005b0970
mov edx, dword [esi + 0x10]
test al, al
jne 0x41c680
mov byte [edx + 4], 1
jmp 0x41c680
call fcn.005b0970
xor al, 1
mov dword [esi + 0x18], eax
movzx eax, byte [edi + 4]
test al, al
je 0x41c3b7
mov eax, dword [esi + 0x18]
mov dword [esi + 0x24], edi
mov dword [esi + 0x78], 0
mov byte [esi + 0x28], al
lea eax, [esi + 0x24]
push 0x5b3b8c
push 0x5b3e70
push eax
push 0x2b
push 0x5b3e44
call fcn.005b1a30
add esp, 0x14
jmp 0x41c890
mov eax, dword [0x6364b8]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x41c4d5
mov dword [esi + 0x78], 2
call fcn.005b0970
test al, al
jne 0x41c4d5
mov eax, dword [ebp + 8]
mov byte [eax + 4], 1
jmp 0x41c4d5
mov al, 1
mov ecx, dword [esi + 0x24]
lock dec dword [ecx]
je 0x41c787
jmp 0x41c7a5
mov dword [esi + 0x1c], eax
call fcn.0041f520
mov ecx, dword [esi + 0x1c]
movzx edx, byte [ecx + 1]
test dl, dl
je 0x41c7cd
cmp byte [ecx + 2], 0
mov byte [ecx + 2], 0
je 0x41c875
push 1
push 3
push ecx
call fcn.00452e30
add esp, 0xc
mov al, 2
mov ecx, dword [esi + 0x24]
lock dec dword [ecx]
jne 0x41c7a5
lea ecx, [esi + 0x24]
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005b0970
test al, al
jne 0x41c538
mov byte [edi + 4], 1
jmp 0x41c538
mov edi, eax
lea ebx, [eax + eax + 1]
imul edi, eax
jmp 0x41c80b
mov dword [esi + 0x78], 2
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], ebx
call fcn.00514850
mov ebx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
movzx edx, byte [ecx + 1]
add edi, ebx
inc eax
add ebx, 2
test dl, dl
jne 0x41c762
cmp eax, 7
jae 0x41c7d8
test eax, eax
je 0x41c7f9
mov edx, edi
nop word cs:[eax + eax]
pause
dec edx
jne 0x41c820
jmp 0x41c7f9
mov byte [esi + 7], 1
lea eax, [esi + 0x24]
push 0x5b3db0
push 0x5b3e34
push eax
push 0x46
push 0x5b3d18
call fcn.005b1a30
add esp, 0x14
jmp 0x41c890
mov byte [esi + 7], 1
push 0x5b3d08
push edi
push eax
call fcn.005b15b0
add esp, 0xc
jmp 0x41c890
push 0x5b3b6c
push 0x2b
push 0x5b3b40
call fcn.005b1730
add esp, 0xc
jmp 0x41c890
mov dword [esi + 0x78], 2
push 0x5b3b7c
push 0x2b
push 0x5b3b40
call fcn.005b1730
add esp, 0xc
ud2