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

Disassembly:
sub esp, 0x28
mov eax, dword [0x453a14]
push ebx
push ebp
push esi
mov esi, dword [eax + 0xb0]
push edi
mov edi, dword [esp + 0x3c]
xor edx, edx
mov ecx, edi
mov dword [esp + 0x10], edx
sub ecx, esi
mov dword [eax + 0x504], ecx
mov eax, dword [0x453a14]
cmp dword [eax + 0x504], edx
je 0x41cb1b
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x40]
mov esi, dword [eax + 0xb4]
mov ecx, ebx
sub ecx, esi
mov dword [eax + 0x508], ecx
mov ecx, dword [0x453a14]
mov ebp, dword [ecx + 0x508]
cmp ebp, edx
mov dword [esp + 0x30], ebp
je 0x41cb47
inc dword [esp + 0x10]
cmp word [esp + 0x10], dx
jne 0x41cb7d
mov eax, dword [0x453a10]
mov esi, dword [eax + 0x2c]
test esi, esi
jle 0x41cb7d
mov eax, dword [eax + 0x30]
add eax, 0x10
cmp dword [eax - 4], 0
jne 0x41cb75
cmp dword [eax], 0
jne 0x41cb75
inc edx
add eax, 0x54
cmp edx, esi
jl 0x41cb60
jmp 0x41cb7d
mov dword [esp + 0x10], 1
mov edx, dword [ecx + 0xb0]
mov eax, dword [ecx + 0xb4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x504]
mov dword [esp + 0x1c], eax
mov dword [ecx + 0xb0], edi
mov eax, dword [0x453a14]
lea ecx, [edi - 0x40]
mov dword [esp + 0x28], edx
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1b4]
test ecx, ecx
jge 0x41cbcf
mov ecx, dword [eax + 0x1c4]
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x453a14]
mov dword [eax + 0xb4], ebx
mov ecx, dword [0x453a14]
lea eax, [ebx - 0x10]
mov dword [ecx + 0x1b8], eax
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1b8]
test ecx, ecx
jge 0x41cc04
mov ecx, dword [eax + 0x1c8]
mov dword [eax + 0x1b8], ecx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x19c]
lea ecx, [ecx + edi + 0x40]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1bc]
mov esi, dword [eax + 0xa8]
cmp ecx, esi
jle 0x41cc3a
mov ecx, dword [eax + 0x1cc]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1a0]
lea ecx, [ecx + ebx + 0x10]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1c0]
mov esi, dword [eax + 0xac]
cmp ecx, esi
jle 0x41cc70
mov ecx, dword [eax + 0x1d0]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x453a14]
mov ecx, 0xffff8000
mov dword [esp + 0x34], 0
mov word [eax + 0x502], cx
mov eax, dword [0x453a14]
mov word [eax + 0x4f0], cx
mov ecx, dword [0x453a14]
mov esi, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x1278]
test esi, esi
mov dword [esp + 0x14], eax
jle 0x41ce43
jmp 0x41ccbd
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp dword [eax], 0
jne 0x41ccd0
mov ecx, dword [eax + 8]
add eax, 8
test ecx, ecx
je 0x41ccc2
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp word [esi + 0x96], 0xfffe
je 0x41cce5
mov word [esi + 0x96], 0xffff
cmp word [esp + 0x10], 0
je 0x41ce0b
mov eax, dword [esi + 0x78]
test ah, 8
je 0x41cd41
test al, 0x10
jne 0x41cd0f
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x54]
add ecx, edx
add eax, ebp
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x54], eax
jmp 0x41cd24
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
add ecx, ebp
add eax, edx
push ecx
push eax
push esi
call fcn.00411210
add esp, 0xc
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x41ce1e
test byte [esi + 0x78], 2
jne 0x41ce1e
jmp 0x41ce1b
mov edx, dword [0x453a10]
mov ecx, dword [esi + 0x84]
cmp ecx, dword [edx + 0x2c]
jge 0x41cd24
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x24], eax
lea eax, [ecx*8]
sub eax, ecx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
lea ecx, [eax + eax*2]
mov ebx, dword [edx + ecx*4 + 0x2c]
lea edi, [edx + ecx*4]
test bl, 1
je 0x41cda1
fild dword [esp + 0x18]
fmul dword [edi + 0x30]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x3c]
mov dword [esp + 0x24], eax
fmul dword [edi + 0x30]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
test bl, 2
je 0x41cdc4
fild dword [esp + 0x1c]
fmul dword [edi + 0x34]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x40]
mov ebp, eax
fmul dword [edi + 0x34]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4c]
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, ebx
mov ebx, dword [edi + 0x10]
add eax, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esi + 0x54]
sub ecx, ebx
sub ecx, edx
mov dl, byte [esi + 0x78]
add ecx, ebp
add ecx, edi
test dl, 0x10
jne 0x41cd19
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], ecx
jmp 0x41cd24
test byte [esi + 0x78], 2
jne 0x41ce1e
mov eax, dword [esi + 0x90]
test eax, eax
je 0x41ce1e
push esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [0x453a14]
mov edx, dword [esp + 0x34]
add eax, 8
mov esi, dword [ecx + 0x3c]
inc edx
cmp edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
jl 0x41ccad
mov eax, dword [ecx]
push eax
call fcn.0044be1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
jmp fcn.004010a0