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

Disassembly:
push 0xffffffffffffffff
push 0x41eae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x6c]
push ebx
add eax, 3
push ebp
cdq
and edx, 3
mov ebx, ecx
add eax, edx
push esi
mov ebp, eax
push edi
sar ebp, 2
shl ebp, 2
xor ecx, ecx
mov eax, 1
or edi, 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
lea edx, [ebx + 0x1044]
mov esi, 0x100
jmp 0x41c1f4
xor ecx, ecx
mov eax, dword [ebx + 0x30]
test eax, eax
jl 0x41c212
mov eax, edx
mov dword [eax + 0x1000], edi
mov dword [eax], 0
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x30]
jle 0x41c1fd
add edx, 0x10
dec esi
jne 0x41c1f2
mov eax, dword [esp + 0x80]
xor ebx, ebx
test eax, eax
jle 0x41c3a4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x7c]
xor edi, edi
test eax, eax
jle 0x41c302
mov edx, dword [esp + 0x74]
add ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + edi]
mov ebp, eax
test ebp, ebp
je 0x41c2ed
mov dword [esp + 0x10], 0
lea edx, [esp + 0x28]
mov ecx, dword [edx - 4]
mov eax, dword [edx]
add ecx, edi
add eax, ebx
test ecx, ecx
jl 0x41c2b3
mov esi, dword [esp + 0x7c]
dec esi
cmp ecx, esi
jg 0x41c2b3
test eax, eax
jl 0x41c2b3
mov esi, dword [esp + 0x80]
dec esi
cmp eax, esi
jg 0x41c2b3
imul eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x78]
mov al, byte [eax + ecx]
test al, al
je 0x41c2c6
and eax, 0xff
cmp eax, ebp
jne 0x41c2c6
mov eax, dword [esp + 0x10]
add edx, 8
inc eax
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x41c272
jmp 0x41c2ed
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
xor edx, edx
push ebp
mov dl, byte [eax + edi]
mov esi, edx
push esi
call fcn.0041c120
test al, al
jne 0x41c321
mov ecx, dword [esp + 0x14]
push ebx
push edi
push ebp
push esi
call fcn.0041c0b0
mov eax, dword [esp + 0x7c]
inc edi
cmp edi, eax
jl 0x41c253
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
inc ebx
add edx, ebp
cmp ebx, eax
mov dword [esp + 0x74], edx
jl 0x41c23b
jmp 0x41c3a4
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x80]
push 0x4241cc
push ecx
mov dword [esp + 0x78], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x7c]
lea eax, [esp + 0x80]
push edx
push 0x4241dc
push eax
call sub.MFC42.DLL_operator_1
push 0x4241d0
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x80]
mov byte [esp + 0x6c], 3
call fcn.0041d492
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0
call fcn.0041d492
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0041d492
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10