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

Disassembly:
sub esp, 0x28
mov eax, dword [0x452594]
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 [0x452594]
cmp dword [eax + 0x504], edx
je 0x41bd2b
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 [0x452594]
mov ebp, dword [ecx + 0x508]
cmp ebp, edx
mov dword [esp + 0x30], ebp
je 0x41bd57
inc dword [esp + 0x10]
cmp word [esp + 0x10], dx
jne 0x41bd8d
mov eax, dword [0x452590]
mov esi, dword [eax + 0x2c]
test esi, esi
jle 0x41bd8d
mov eax, dword [eax + 0x30]
add eax, 0x10
cmp dword [eax - 4], 0
jne 0x41bd85
cmp dword [eax], 0
jne 0x41bd85
inc edx
add eax, 0x54
cmp edx, esi
jl 0x41bd70
jmp 0x41bd8d
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 [0x452594]
lea ecx, [edi - 0x40]
mov dword [esp + 0x28], edx
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x1b4]
test ecx, ecx
jge 0x41bddf
mov ecx, dword [eax + 0x1c4]
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x452594]
mov dword [eax + 0xb4], ebx
mov ecx, dword [0x452594]
lea eax, [ebx - 0x10]
mov dword [ecx + 0x1b8], eax
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x1b8]
test ecx, ecx
jge 0x41be14
mov ecx, dword [eax + 0x1c8]
mov dword [eax + 0x1b8], ecx
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x19c]
lea ecx, [ecx + edi + 0x40]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x1bc]
mov esi, dword [eax + 0xa8]
cmp ecx, esi
jle 0x41be4a
mov ecx, dword [eax + 0x1cc]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x1a0]
lea ecx, [ecx + ebx + 0x10]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x1c0]
mov esi, dword [eax + 0xac]
cmp ecx, esi
jle 0x41be80
mov ecx, dword [eax + 0x1d0]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x452594]
mov ecx, 0xffff8000
mov dword [esp + 0x34], 0
mov word [eax + 0x502], cx
mov eax, dword [0x452594]
mov word [eax + 0x4f0], cx
mov ecx, dword [0x452594]
mov esi, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x1278]
test esi, esi
mov dword [esp + 0x14], eax
jle 0x41c053
jmp 0x41becd
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 0x41bee0
mov ecx, dword [eax + 8]
add eax, 8
test ecx, ecx
je 0x41bed2
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp word [esi + 0x96], 0xfffe
je 0x41bef5
mov word [esi + 0x96], 0xffff
cmp word [esp + 0x10], 0
je 0x41c01b
mov eax, dword [esi + 0x78]
test ah, 8
je 0x41bf51
test al, 0x10
jne 0x41bf1f
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 0x41bf34
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
add ecx, ebp
add eax, edx
push ecx
push eax
push esi
call fcn.004103c0
add esp, 0xc
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x41c02e
test byte [esi + 0x78], 2
jne 0x41c02e
jmp 0x41c02b
mov edx, dword [0x452590]
mov ecx, dword [esi + 0x84]
cmp ecx, dword [edx + 0x2c]
jge 0x41bf34
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 0x41bfb1
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 0x41bfd4
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 0x41bf29
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], ecx
jmp 0x41bf34
test byte [esi + 0x78], 2
jne 0x41c02e
mov eax, dword [esi + 0x90]
test eax, eax
je 0x41c02e
push esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [0x452594]
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 0x41bebd
mov eax, dword [ecx]
push eax
call sub.MMFS2.dll_Ordinal_59
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
jmp fcn.004010a0