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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x560040
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x3c
push edi
mov edi, 1
cmp eax, edi
jg 0x44e0f6
push ebx
mov ebx, dword [esp + 0x58]
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x50]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov esi, dword [eax - 8]
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_3
dec esi
mov dword [esp + 0x54], ebp
cmp esi, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
jle 0x44e0e2
mov edi, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x50]
add ecx, ebp
mov al, byte [ecx]
cmp al, 0xd
je 0x44dd5c
cmp byte [ecx + 1], 0xa
je 0x44dd5c
mov byte [esp + 0x28], al
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x28]
push edx
call fcn.00557258
mov eax, dword [ebx + 0x50]
mov al, byte [eax + ebp]
test al, al
jge 0x44dd33
cmp dword [esp + 0x14], 2
jne 0x44dd31
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
inc eax
mov dword [esp + 0x1c], eax
jmp 0x44e0d5
test al, al
jle 0x44dd3e
inc dword [esp + 0x18]
jmp 0x44e0d5
jge 0x44e0d5
cmp dword [esp + 0x14], 1
jne 0x44e0d5
mov dword [esp + 0x14], 2
jmp 0x44e0d5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
lea ecx, [ecx + edx - 1]
test ecx, ecx
je 0x44dd77
sub eax, dword [ebx + 4]
cdq
idiv ecx
jmp 0x44dd7a
sub eax, dword [ebx + 4]
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebx + 4]
xor ebp, ebp
mov byte [esp + 0x54], 1
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, 0x66666667
imul ecx
mov eax, dword [esp + 0x20]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov esi, edx
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
mov ecx, dword [esp + 0x78]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x6c]
add edx, esi
mov dword [esp + 0x40], ecx
add edx, eax
add eax, esi
mov esi, dword [ebx + 0x7c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edx
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x44e0bf
mov al, byte [eax + ebp]
test al, al
jge 0x44de35
cmp dword [esp + 0x5c], 2
je 0x44de3b
test al, al
jle 0x44e096
mov byte [esp + 0x2c], al
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x2c]
push eax
call fcn.00557258
mov edx, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x5c], ecx
mov al, byte [edx + ebp]
test al, al
jle 0x44de67
test ebp, ebp
je 0x44de6e
test al, al
jge 0x44de70
cmp ebp, 1
jne 0x44de70
xor ecx, ecx
mov edx, dword [edx - 8]
dec edx
cmp ebp, edx
jne 0x44deaa
mov ecx, dword [ebx + 0xc]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, 0x66666667
lea ecx, [ecx + edx*2]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x6c]
add edx, eax
mov dword [esp + 0x44], edx
jmp 0x44dec6
test ecx, ecx
jne 0x44dec1
test esi, esi
jne 0x44def4
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push esi
mov ecx, dword [eax - 8]
jmp 0x44e046
cmp ecx, 2
jne 0x44ded3
test esi, esi
jne 0x44dfe1
jmp 0x44e03b
cmp ecx, 1
jne 0x44e052
test esi, esi
jne 0x44df76
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 1
mov ecx, dword [eax - 8]
jmp 0x44e046
cmp esi, 1
jne 0x44df47
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
sub eax, ecx
mov esi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x44df23
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 0
mov ecx, dword [eax - 8]
lea ebx, [esp + 0x40]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x40], esi
jmp 0x44e052
cmp esi, 2
jne 0x44e052
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jle 0x44df66
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 0
mov ecx, dword [eax - 8]
jmp 0x44e046
cmp esi, 1
jne 0x44dfb5
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
sub eax, ecx
mov esi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x44dfa5
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 1
mov ecx, dword [eax - 8]
jmp 0x44df2e
cmp esi, 2
jne 0x44e052
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jle 0x44dfd4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 1
mov ecx, dword [eax - 8]
jmp 0x44e046
cmp esi, 1
jne 0x44e020
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
sub eax, ecx
mov esi, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
mov edx, ecx
sar ebx, 1
sar eax, 1
add edx, ebx
add eax, edx
cmp eax, ecx
jge 0x44e010
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 2
mov ecx, dword [eax - 8]
jmp 0x44df2e
cmp esi, 2
jne 0x44e052
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jle 0x44e03b
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push 2
mov ecx, dword [eax - 8]
lea esi, [esp + 0x40]
push esi
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x3c], esi
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 0x64]
add esi, edx
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CString::Empty
mov esi, dword [esp + 0x30]
jmp 0x44e0b1
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x34], al
mov edx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x5c], ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00557258
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, dword [eax - 8]
jl 0x44de25
lea ecx, [esp + 0x64]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
inc ebp
cmp ebp, esi
mov dword [esp + 0x24], ebp
jl 0x44dce7
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
add esp, 0x48
ret 0x28