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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4d59f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x50f880]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x54], 0
mov dword [esp + 0x24], eax
mov ebx, edx
je 0x41a2bd
cmp dword [esi], 0
jle 0x41a2bd
cmp byte [esi + 0x55], 0
je case.default.0x41a234
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 3
ja case.default.0x41a234
jmp dword [eax*4 + 0x41a47c]
push 0xc
jmp 0x41a249
push 0xe
jmp 0x41a249
push 0xa
jmp 0x41a249
push 0xf
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.0041b370
add eax, 0x10
mov dword [esp + 0x20], eax
push 0xa
lea edi, [esp + 0x24]
mov dword [esp + 0x84], 0
call fcn.004199a0
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
push 0
push 0
push eax
push edi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [edi - 0x10]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [esi]
jg 0x41a44f
cmp dword [esi + 0x38], 0
je 0x41a44f
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x84], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x28]
push edx
call fcn.00419aa0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x80], 2
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [esp + 0x4c]
movzx edx, word [esp + 0x4e]
mov dword [esp + 0x34], ecx
movzx ecx, word [esp + 0x48]
fild dword [esp + 0x34]
fld qword [0x4f64d0]
mov dword [esp + 0x34], edx
movzx edx, word [esp + 0x46]
fmul st(1), st(0)
fild dword [esp + 0x34]
push eax
movzx eax, word [esp + 0x4e]
faddp st(2)
sub esp, 8
fdivp st(1)
lea edi, [esp + 0x3c]
fstp qword [esp]
push eax
movzx eax, word [esp + 0x52]
push ecx
movzx ecx, word [esp + 0x54]
push edx
push eax
push ecx
push str.__04u__02u__02u____02u:_02u:_06.3f___05x__d__s_d__s
call fcn.00419a80
mov byte [esp + 0xb4], 1
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00419b80
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x41a46f
cmp eax, ecx
jg 0x41a46f
cmp byte [eax + ebx], 0xa
je 0x41a3ef
push 0x4f4788
mov eax, 2
lea ebx, [esp + 0x24]
call fcn.00419e10
mov ebx, dword [esp + 0x20]
lea edi, [esi + 0x1c]
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x2c], 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0x84], 3
call fcn.0041a0e0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esi + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebx - 0x10]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a44f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00453be1
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.0041b5f0
lea ecx, [ecx]
cmp esp, dword [edx - 0x5dc0ffbf]
inc ecx
add byte [ebx - 0x5e], al
inc ecx
add byte [edi - 0x5e], al
inc ecx
add ah, cl
int3