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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov eax, dword [0x45c874]
push eax
call sub.kernel32.dll_EnterCriticalSection
xor ecx, ecx
push ebp
push 0x41d28c
push dword fs:[ecx]
mov dword fs:[ecx], esp
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
jle 0x41cc14
mov edx, dword [0x45caf0]
mov esi, eax
dec esi
cmp esi, 0
jl 0x41cc14
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov edx, esi
call fcn.004148b0
mov ebx, eax
cmp byte [ebx + 0x3c], 3
jne 0x41cc0e
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov edx, esi
call fcn.004148b0
mov edx, 0xc4
call fcn.00402eac
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov edx, esi
call fcn.004147a4
mov dl, 1
mov eax, 0x41d2a4
call fcn.0041c590
dec esi
cmp esi, 0xffffffff
jne 0x41cbc6
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
jle 0x41d273
mov edx, dword [0x45caf0]
mov esi, eax
dec esi
cmp esi, 0
jl 0x41d273
mov eax, dword [0x45caf0]
mov eax, dword [eax]
mov edx, esi
call fcn.004148b0
mov ebx, eax
movzx eax, byte [ebx + 0x3c]
sub al, 1
jb 0x41cc63
je 0x41ced4
dec al
je 0x41d0e8
jmp 0x41d269
mov eax, dword [ebx + 0x58]
test eax, eax
jle 0x41cc7d
push eax
mov eax, dword [0x45c968]
mov eax, dword [eax + 0x8c]
call eax
xor eax, eax
mov dword [ebx + 0x58], eax
mov edi, dword [ebx + 0x44]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebx + 0x60]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x50]
cdq
cmp edx, dword [esp + 4]
jne 0x41cca1
cmp eax, dword [esp]
pop edx
pop eax
ja 0x41cdff
jmp 0x41cca9
pop edx
pop eax
jg 0x41cdff
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x5c]
cmp eax, dword [ebx + 0x48]
jge 0x41ccbf
inc dword [ebx + 0x5c]
jmp 0x41cdff
cmp byte [ebx], 0
jne 0x41ccd6
mov byte [ebx + 0x3c], 2
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xb8], eax
jmp 0x41cdff
mov byte [ebx + 0x3c], 1
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [eax]
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x95], 0
movzx eax, byte [ebx + 0x94]
sub al, 8
je 0x41cd47
sub al, 8
je 0x41cd61
jmp 0x41cd79
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.0041c690
mov byte [ebx + 0x95], al
jmp 0x41cd79
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.0041c894
mov byte [ebx + 0x95], al
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x44]
call eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x48]
call eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x44]
call eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x48]
call eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x30]
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x2c]
cdq
xor eax, edx
sub eax, edx
pop edx
call fcn.0041cb74
mov dword [ebx + 0x38], eax
fild dword [ebx + 0x38]
fdiv dword [0x41d2b0]
call fcn.004031b0
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x48]
sub eax, dword [ebx + 0x4c]
dec eax
add eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x5c]
mov ecx, edx
add ecx, edi
cmp eax, ecx
jle 0x41ce18
add edi, edx
jmp 0x41ce1a
mov edi, eax
movzx eax, byte [ebx + 0x68]
sub al, 8
je 0x41ce26
sub al, 8
jne 0x41ce3e
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x10]
call eax
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
add edi, eax
cmp byte [ebx + 0x3c], 0
jne 0x41d269
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x40]
push eax
mov eax, dword [0x45c8a4]
mov eax, dword [eax + 8]
call eax
mov edi, eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x44]
call eax
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x48]
call eax
add eax, dword [ebp - 8]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
add ebx, 0x32
push ebx
mov eax, dword [ebp - 0xc]
sub eax, 0x1a
push eax
mov eax, dword [0x45c9fc]
mov eax, dword [eax + 0x14]
call eax
jmp 0x41d269
mov eax, dword [ebx + 0x84]
test eax, eax
jle 0x41cef4
push eax
mov eax, dword [0x45c968]
mov eax, dword [eax + 0x8c]
call eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov edi, dword [ebx + 0x70]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebx + 0x8c]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x7c]
cdq
cmp edx, dword [esp + 4]
jne 0x41cf17
cmp eax, dword [esp]
pop edx
pop eax
ja 0x41cf3f
jmp 0x41cf1b
pop edx
pop eax
jg 0x41cf3f
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x74]
jge 0x41cf37
inc dword [ebx + 0x88]
jmp 0x41cf3f
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x78]
dec eax
add eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x88]
mov ecx, edx
add ecx, edi
cmp eax, ecx
jle 0x41cf5b
add edi, edx
jmp 0x41cf5d
mov edi, eax
movzx eax, byte [ebx + 0x94]
sub al, 8
je 0x41cf6c
sub al, 8
jne 0x41cf7a
movzx eax, byte [ebx + 0x95]
add eax, eax
lea eax, [eax + eax*4]
add edi, eax
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jl 0x41cf8b
mov byte [ebx + 0x3c], 2
jmp 0x41d269
mov eax, dword [ebp - 0x10]
sub eax, dword [ebx + 0x90]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x80]
cdq
cmp edx, dword [esp + 4]
jne 0x41cfb2
cmp eax, dword [esp]
pop edx
pop eax
ja 0x41d072
jmp 0x41cfba
pop edx
pop eax
jg 0x41d072
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x90], eax
inc dword [ebx + 0x34]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x1c]
jge 0x41cff3
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebx + 0x38]
fdivp st(1)
fild dword [ebx + 0x34]
fmulp st(1)
call fcn.004031b0
mov edx, dword [ebx + 0x1c]
sub edx, eax
mov dword [ebx + 0x24], edx
jmp 0x41d01c
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x1c]
jle 0x41d01c
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x1c]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebx + 0x38]
fdivp st(1)
fild dword [ebx + 0x34]
fmulp st(1)
call fcn.004031b0
add eax, dword [ebx + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x20]
jge 0x41d049
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x30]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebx + 0x38]
fdivp st(1)
fild dword [ebx + 0x34]
fmulp st(1)
call fcn.004031b0
mov edx, dword [ebx + 0x20]
sub edx, eax
mov dword [ebx + 0x28], edx
jmp 0x41d072
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x20]
jle 0x41d072
mov eax, dword [ebx + 0x30]
sub eax, dword [ebx + 0x20]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebx + 0x38]
fdivp st(1)
fild dword [ebx + 0x34]
fmulp st(1)
call fcn.004031b0
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x6c]
push eax
mov eax, dword [0x45c8a4]
mov eax, dword [eax + 8]
call eax
mov edi, eax
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 8]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
add ebx, 0x32
push ebx
mov eax, dword [ebp - 0xc]
sub eax, 0x1a
push eax
mov eax, dword [0x45c9fc]
mov eax, dword [eax + 0x14]
call eax
jmp 0x41d269
mov eax, dword [ebx + 0xb0]
test eax, eax
jle 0x41d108
push eax
mov eax, dword [0x45c968]
mov eax, dword [eax + 0x8c]
call eax
xor eax, eax
mov dword [ebx + 0xb0], eax
mov edi, dword [ebx + 0x9c]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebx + 0xb8]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0xa8]
cdq
cmp edx, dword [esp + 4]
jne 0x41d131
cmp eax, dword [esp]
pop edx
pop eax
ja 0x41d158
jmp 0x41d135
pop edx
pop eax
jg 0x41d158
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0xb4]
cmp eax, dword [ebx + 0xa0]
jge 0x41d154
inc dword [ebx + 0xb4]
jmp 0x41d158
mov byte [ebx + 0x3c], 3
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0xa4]
dec eax
add eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0xb4]
mov ecx, edx
add ecx, edi
cmp eax, ecx
jle 0x41d17d
add edi, edx
jmp 0x41d17f
mov edi, eax
movzx eax, byte [ebx + 0xc0]
sub al, 8
je 0x41d18e
sub al, 8
jne 0x41d1a6
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x10]
call eax
movzx eax, byte [eax]
add eax, eax
lea eax, [eax + eax*4]
add edi, eax
cmp byte [ebx + 0x3c], 2
jne 0x41d269
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x98]
push eax
mov eax, dword [0x45c8a4]
mov eax, dword [eax + 8]
call eax
mov edi, eax
cmp byte [ebx + 1], 0
jne 0x41d1fb
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x44]
call eax
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x48]
call eax
add eax, dword [ebp - 8]
mov ebx, eax
jmp 0x41d222
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x44]
call eax
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x45c948]
mov eax, dword [eax + 0x48]
call eax
add eax, dword [ebp - 8]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push edi
mov eax, dword [0x45cae8]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
add ebx, 0x32
push ebx
mov eax, dword [ebp - 0xc]
sub eax, 0x1a
push eax
mov eax, dword [0x45c9fc]
mov eax, dword [eax + 0x14]
call eax
dec esi
cmp esi, 0xffffffff
jne 0x41cc38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d293
mov eax, dword [0x45c874]
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret