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

Disassembly:
push 0xffffffffffffffff
push 0x41d7f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e4
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x40c]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x410]
push edi
mov byte [esp + 0x13], 0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x416fbe
mov ecx, dword [eax + 0x3a0]
test ecx, ecx
je 0x416fbe
mov eax, dword [esp + 0x408]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov dword [esp + 0x3fc], 0
call fcn.0041b5bc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3fc], 1
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esi + 0x410]
mov edi, dword [ecx + 0x3a0]
lea edx, [edi + 0xc]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0x2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x400], 2
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
mov dword [esp + 0x40], eax
jl 0x416b8c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Right
mov eax, dword [esp + 0x30]
push 0x423814
push eax
mov byte [esp + 0x404], 3
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x416b7b
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x400], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x3fc], 3
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jl 0x416b7b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x408], 5
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x400], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3fc], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x3fc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x3fc], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator
push 0x2f
push 0x5c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x416e02
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push 0x4231d4
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x2b]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x2b]
test al, al
jne 0x416e02
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x416d4d
mov eax, dword [esi + 0x410]
lea ecx, [esi + 0x30]
add eax, 0x18
mov byte [esp + 0x13], 1
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esi + 0x71]
add edx, 0x59
push edx
push 0x4230a0
push eax
call ebp
mov ecx, dword [esi + 0x410]
lea edx, [esi + 0xf2]
add ecx, 0xda
push ecx
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
lea ecx, [esi + 0xfd]
add eax, 0xe5
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esi + 0x17d]
add edx, 0x165
push edx
push 0x4230a0
push eax
call ebp
mov ecx, dword [esi + 0x410]
lea edx, [esi + 0x27d]
add ecx, 0x265
push ecx
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
add esp, 0x48
mov ecx, dword [eax + 0x368]
add eax, 0x378
mov dword [esi + 0x380], ecx
mov edx, dword [eax - 0xc]
mov dword [esi + 0x384], edx
mov ecx, dword [eax - 8]
mov dword [esi + 0x388], ecx
mov edx, dword [eax - 4]
push eax
lea eax, [esi + 0x390]
push 0x4230a0
push eax
mov dword [esi + 0x38c], edx
call ebp
mov ecx, dword [esi + 0x410]
add esp, 0xc
mov edx, dword [ecx + 0x3ac]
mov dword [esi + 0x3dc], edx
mov al, byte [edi]
mov byte [esi + 0x3c0], al
mov ecx, dword [edi + 4]
and eax, 0x7f
sub ecx, eax
mov dword [esi + 0x3b0], ecx
mov edx, dword [edi + 8]
mov eax, ecx
mov ecx, dword [esp + 0x40c]
mov dword [esi + 0x3bc], edx
mov dword [ecx], eax
mov edx, dword [esi + 0x410]
mov eax, dword [edx + 0x10]
mov dword [ebx], eax
mov ecx, dword [esi + 0x410]
mov edx, dword [ecx + 0x14]
mov dword [ebx + 4], edx
mov edi, dword [edi + 0x10c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3fc], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x410]
cmp edi, dword [eax + 0x3a0]
jne 0x416a54
lea ecx, [esp + 0x14]
mov byte [esp + 0x3fc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3fc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x416fbe
mov eax, dword [esi + 0x3c4]
test eax, eax
je 0x416dbd
cmp eax, 0xffffffff
je 0x416dbd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x410]
push 0
push 0
push 3
mov eax, dword [ecx + 0x398]
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x3c4], eax
jne 0x417703
mov dword [esi + 0x3c4], 0
mov eax, 1
jmp 0x4178a1
mov ecx, dword [esi + 0x410]
lea edx, [esi + 0x30]
add ecx, 0x18
push ecx
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
lea ecx, [esi + 0x71]
add eax, 0x59
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esi + 0xf2]
add edx, 0xda
push edx
push 0x4230a0
push eax
call ebp
mov ecx, dword [esi + 0x410]
lea edx, [esi + 0xfd]
add ecx, 0xe5
push ecx
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
lea ecx, [esi + 0x17d]
add eax, 0x165
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esi + 0x27d]
add edx, 0x265
push edx
push 0x4230a0
push eax
call ebp
mov eax, dword [esi + 0x410]
add esp, 0x48
mov ecx, dword [eax + 0x368]
add eax, 0x378
mov dword [esi + 0x380], ecx
mov edx, dword [eax - 0xc]
mov dword [esi + 0x384], edx
mov ecx, dword [eax - 8]
mov dword [esi + 0x388], ecx
mov edx, dword [eax - 4]
push eax
lea eax, [esi + 0x390]
push 0x4230a0
push eax
mov dword [esi + 0x38c], edx
call ebp
mov ecx, dword [esi + 0x410]
add esp, 0xc
mov edx, dword [ecx + 0x3ac]
mov dword [esi + 0x3dc], edx
mov al, byte [edi]
mov byte [esi + 0x3c0], al
mov ecx, dword [edi + 4]
and eax, 0x7f
sub ecx, eax
mov dword [esi + 0x3b0], ecx
mov edx, dword [edi + 8]
mov eax, ecx
mov ecx, dword [esp + 0x40c]
mov dword [esi + 0x3bc], edx
mov dword [ecx], eax
mov edx, dword [esi + 0x410]
mov eax, dword [edx + 0x10]
mov dword [ebx], eax
mov ecx, dword [esi + 0x410]
mov edx, dword [ecx + 0x14]
mov dword [ebx + 4], edx
mov eax, dword [esi + 0x3c4]
test eax, eax
je 0x416f47
cmp eax, 0xffffffff
je 0x416f47
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x410]
push 0
push 0
push 3
mov eax, dword [eax + 0x398]
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x3c4], eax
jne 0x416f7e
mov dword [esi + 0x3c4], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3fc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x3fc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3fc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4178a1
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edi, dword [esp + 0x404]
push 0
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x404], 7
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x50]
je 0x417886
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::GetLength
mov edx, dword [esp + 0x40c]
push ebx
lea ecx, [esp + 0x54]
mov dword [edx], eax
call sub.MFC42.DLL_CFileFind::GetLastWriteTime
mov eax, dword [esi + 0x410]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x417030
mov ecx, dword [ebx]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x410]
mov eax, dword [ebx + 4]
mov dword [edx + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
push ecx
push ecx
push 3
push ecx
push 1
push bind
push edi
mov dword [esp + 0xa0], ecx
mov byte [esp + 0x50], cl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x417882
cmp ebx, 0xffffffff
je 0x417882
lea edx, [esp + 0x34]
lea eax, [esp + 0x74]
push edx
push eax
push ebx
call fcn.00402c30
add esp, 0xc
test eax, eax
jne 0x417305
mov dl, byte [0x4247e8]
mov ecx, 0x10
lea edi, [esp + 0xa9]
mov byte [esp + 0xa8], dl
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [esp + 0xed]
mov byte [esp + 0xec], dl
mov byte [esp + 0x170], dl
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [esp + 0x171]
mov dword [esp + 0x45], ecx
mov byte [esp + 0x1f4], dl
mov dword [esp + 0x49], ecx
mov byte [esp + 0x2f4], dl
mov word [esp + 0x4d], cx
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x1f5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2f5]
mov byte [esp + 0x88], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 7
lea edi, [esp + 0x89]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x44], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x410]
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 0x3a8]
test cl, 1
je 0x41725d
test cl, 2
je 0x41725d
add eax, 0x18
lea edx, [esp + 0xa8]
push eax
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
lea ecx, [esp + 0xf8]
add eax, 0x59
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esp + 0x5c]
add edx, 0xda
push edx
push 0x4230a0
push eax
call ebp
mov ecx, dword [esi + 0x410]
lea edx, [esp + 0x194]
add ecx, 0xe5
push ecx
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
lea ecx, [esp + 0x224]
add eax, 0x165
push eax
push 0x4230a0
push ecx
call ebp
mov edx, dword [esi + 0x410]
lea eax, [esp + 0x330]
add edx, 0x265
push edx
push 0x4230a0
push eax
call ebp
mov eax, dword [esi + 0x410]
add esp, 0x48
mov ecx, dword [eax + 0x368]
add eax, 0x378
mov dword [esp + 0x38], ecx
mov edx, dword [eax - 0xc]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax - 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax - 4]
push eax
lea eax, [esp + 0x8c]
push 0x4230a0
push eax
mov dword [esp + 0x30], edx
call ebp
mov eax, dword [esi + 0x410]
add esp, 0xc
mov ecx, dword [eax + 0x3ac]
mov dword [esi + 0x3dc], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x3a8]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x180]
push eax
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x318]
push edx
lea ecx, [esp + 0x21c]
push eax
lea edx, [esp + 0x70]
push ecx
lea eax, [esp + 0x11c]
push edx
lea ecx, [esp + 0xdc]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
push ebx
call fcn.00402e20
mov cl, byte [esp + 0x84]
add esp, 0x44
test cl, 8
mov dword [esi + 0x3d8], edi
je 0x4172e9
mov dword [esi + 0x3d8], 1
test cl, 0x10
je 0x4172f5
or dword [esi + 0x3d8], 2
test cl, 0x20
je 0x417301
or dword [esi + 0x3d8], 4
cmp eax, edi
je 0x417333
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x50]
mov dword [esp + 0x3fc], 0xffffffff
call fcn.0041b74e
mov eax, 2
jmp 0x4178a1
lea eax, [esp + 0xa8]
mov ecx, 0x42486c
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xec]
push ecx
mov ecx, 0x424868
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x170]
mov ecx, 0x42482c
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x44]
mov ecx, 0x424828
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x424828
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, 0x424828
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1f4]
mov dword [0x424844], ecx
push eax
mov ecx, 0x424864
mov dword [0x424840], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2f4]
push ecx
mov ecx, 0x424860
call sub.MFC42.DLL_CString::operator_1
mov al, byte [esp + 0x30]
test al, 1
je 0x417858
test al, 2
je 0x417858
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
sub edx, eax
mov dword [esp + 0x2c], edi
je 0x417305
mov ecx, dword [esp + 0x80]
push edi
add ecx, eax
push ecx
push ebx
call fcn.00401040
push ebx
push 3
lea edx, [esp + 0x80]
push 1
push edx
call fcn.00401000
add esp, 0x1c
cmp eax, 3
jb 0x417305
cmp byte [esp + 0x6c], 5
jne 0x417305
mov eax, dword [esp + 0x6d]
mov ecx, dword [esp + 0x6e]
and eax, 0xff
and ecx, 0xff
shl eax, 8
add eax, ecx
cmp eax, edi
jle 0x417305
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x410]
sub edx, eax
sub edx, 3
lea eax, [esp + 0x2c]
push edx
push eax
push ebx
call fcn.0041a850
cmp dword [esp + 0x2c], edi
je 0x417305
mov eax, dword [esi + 0x410]
cmp dword [eax + 0xc], edi
jne 0x41770d
lea ecx, [esp + 0xa8]
add eax, 0x18
push ecx
push 0x4230a0
push eax
call ebp
mov eax, dword [esi + 0x410]
lea edx, [esp + 0xf8]
push edx
add eax, 0x59
push 0x4230a0
push eax
call ebp
mov edx, dword [esi + 0x410]
lea ecx, [esp + 0x5c]
push ecx
add edx, 0xda
push 0x4230a0
push edx
call ebp
mov ecx, dword [esi + 0x410]
lea eax, [esp + 0x194]
push eax
add ecx, 0xe5
push 0x4230a0
push ecx
call ebp
mov eax, dword [esi + 0x410]
lea edx, [esp + 0x224]
push edx
add eax, 0x165
push 0x4230a0
push eax
call ebp
mov edx, dword [esi + 0x410]
lea ecx, [esp + 0x330]
push ecx
add edx, 0x265
push 0x4230a0
push edx
call ebp
mov eax, dword [esi + 0x410]
mov ecx, dword [esp + 0x80]
add esp, 0x48
mov dword [eax + 0x368], ecx
mov edx, dword [esi + 0x410]
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x36c], eax
mov ecx, dword [esi + 0x410]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x370], edx
mov eax, dword [esi + 0x410]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x88]
mov dword [eax + 0x374], ecx
mov eax, dword [esi + 0x410]
push edx
add eax, 0x378
push 0x4230a0
push eax
call ebp
mov ecx, dword [esi + 0x410]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x3a8], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x410]
and eax, 0xff
lea edx, [esp + 0xb4]
mov dword [ecx + 0x3ac], eax
push edx
lea eax, [esi + 0x30]
push 0x4230a0
push eax
call ebp
lea ecx, [esp + 0x104]
lea edx, [esi + 0x71]
push ecx
push 0x4230a0
push edx
call ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esi + 0xf2]
push 0x4230a0
push ecx
call ebp
lea edx, [esp + 0x1a0]
lea eax, [esi + 0xfd]
push edx
push 0x4230a0
push eax
call ebp
lea ecx, [esp + 0x230]
lea edx, [esi + 0x17d]
push ecx
push 0x4230a0
push edx
call ebp
add esp, 0x48
lea eax, [esp + 0x2f4]
lea ecx, [esi + 0x27d]
push eax
push 0x4230a0
push ecx
call ebp
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x384], eax
lea eax, [esp + 0x94]
mov dword [esi + 0x388], ecx
mov dword [esi + 0x380], edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esi + 0x390]
push 0x4230a0
push ecx
mov dword [esi + 0x38c], edx
call ebp
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov al, byte [ecx]
mov byte [esi + 0x3c0], al
mov edx, dword [ecx + 4]
and eax, 0x7f
sub edx, eax
mov dword [esi + 0x3b0], edx
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0x410]
mov dword [esi + 0x3bc], eax
mov eax, dword [esi + 0x3b0]
mov edx, dword [ecx + 0x3ac]
mov ecx, dword [esp + 0x40c]
mov dword [esi + 0x3dc], edx
mov dword [ecx], eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esi + 0x3c4]
cmp eax, edi
je 0x4176c4
cmp eax, 0xffffffff
je 0x4176c4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x404]
push edi
push edi
push 3
push edi
push 1
push bind
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x3c4], eax
jne 0x4176ef
mov dword [esi + 0x3c4], edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x3fc], 0xffffffff
call fcn.0041b74e
mov eax, 1
jmp 0x4178a1
mov eax, dword [esi + 0x3c4]
cmp eax, edi
je 0x417723
cmp eax, 0xffffffff
je 0x417723
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xa8]
lea ecx, [esi + 0x30]
push eax
push 0x4230a0
push ecx
mov dword [esi + 0x3c4], ebx
call ebp
lea edx, [esp + 0xf8]
lea eax, [esi + 0x71]
push edx
push 0x4230a0
push eax
call ebp
lea ecx, [esp + 0x5c]
lea edx, [esi + 0xf2]
push ecx
push 0x4230a0
push edx
call ebp
lea eax, [esp + 0x194]
lea ecx, [esi + 0xfd]
push eax
push 0x4230a0
push ecx
call ebp
lea edx, [esp + 0x224]
lea eax, [esi + 0x17d]
push edx
push 0x4230a0
push eax
call ebp
lea ecx, [esp + 0x330]
lea edx, [esi + 0x27d]
push ecx
push 0x4230a0
push edx
call ebp
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
add esp, 0x48
mov dword [esi + 0x384], ecx
lea ecx, [esp + 0x88]
mov dword [esi + 0x388], edx
mov dword [esi + 0x380], eax
mov eax, dword [esp + 0x24]
push ecx
lea edx, [esi + 0x390]
push 0x4230a0
push edx
mov dword [esi + 0x38c], eax
call ebp
mov ecx, dword [esp + 0x38]
mov al, byte [ecx]
mov byte [esi + 0x3c0], al
mov edx, dword [ecx + 4]
and eax, 0x7f
sub edx, eax
mov dword [esi + 0x3b0], edx
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x3bc], eax
mov eax, dword [esp + 0x418]
and ecx, 0xff
mov dword [esi + 0x3dc], ecx
lea ecx, [esp + 0x38]
push ecx
mov dword [eax], edx
call fcn.00401d50
add esp, 0x10
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x50]
mov dword [esp + 0x3fc], 0xffffffff
call fcn.0041b74e
mov eax, 4
jmp 0x4178a1
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esi + 0x3c4]
cmp eax, edi
je 0x417877
cmp eax, 0xffffffff
je 0x417877
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x3c4], ebx
jmp 0x4176ef
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x50]
mov dword [esp + 0x3fc], 0xffffffff
call fcn.0041b74e
xor eax, eax
mov ecx, dword [esp + 0x3f4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3f0
ret 0x10