Function at 0x413a00
Capabilities:
Copy file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45a50a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov al, byte [ecx + 0xdc]
mov dword [esp + 0x264], ebx
cmp al, 4
jne 0x413ea0
lea eax, [esp + 0x14]
push str.IDS_STS_READONLY_COPY
push eax
call dword [0x49773c]
add esp, 8
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
mov byte [esp + 0x268], 1
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 4]
mov edx, dword [0x49772c]
push ebx
push ecx
push 0x40c
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esp + 0x5c]
mov ecx, dword [esi + 0x18]
push eax
push 0x200
push ebx
push ebx
push 8
push ebx
push 0x80
push 0xfa
push ecx
call fcn.0044bd90
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x80]
push edx
push 0x9a
push eax
call fcn.0044bc10
add esp, 0x30
test eax, eax
jne 0x413af0
lea ecx, [esp + 0x14]
push 0x48d780
push ecx
mov dword [esp + 0x1c], 0x20300
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 1
jne 0x413b2e
push edi
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x413b2e
lea edx, [esp + 0x14]
push 0x48d780
push edx
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x413b6b
push edi
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x413b6b
lea eax, [esp + 0x14]
push 0x48d780
push eax
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00414980
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov eax, dword [esi + 0x18]
push eax
call fcn.0044ba50
add esp, 0x28
mov eax, dword [esi + 8]
cmp byte [eax + 0xdc], 1
jne 0x414303
cmp dword [eax + 0xe0], ebx
je 0x414303
lea ecx, [esp + 0x20]
push str.IDS_STS_AP_COPY
push ecx
call dword [0x49773c]
add esp, 8
lea ecx, [esi + 0xc0]
push eax
mov byte [esp + 0x268], 3
call fcn.004581c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x49772c]
push ebx
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 4
call sub.MFC42.DLL_CString::CString_1
movsx ecx, byte [esi + 0x14]
push ecx
lea edx, [esp + 0x18]
push 0x493130
push edx
mov byte [esp + 0x270], 5
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x49770c]
lea ecx, [esp + 0x30]
push eax
push str._sAP
push ecx
call sub.MFC42.DLL_CString::Format
lea edx, [esp + 0x74]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push ebx
push ebx
push 0x10
push ebx
push 0x80
push 0xfa
push eax
call fcn.0044bd90
mov dx, word [0x493124]
mov ecx, dword [str.._a:]
mov al, byte [0x493126]
mov word [esp + 0x70], dx
lea edx, [esp + 0x98]
mov dword [esp + 0x6c], ecx
push edx
push 0x200
mov byte [esp + 0x7a], al
push ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xa4]
push ebx
push ebx
push 0xff
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x18]
mov cl, byte [esi + 0x14]
push 0x51
push 0xf8
push eax
mov byte [esp + 0x94], cl
call fcn.0044bd90
add esp, 0x60
push 0x1f4
call ebp
push ebx
push 0x80
push 3
push ebx
push 3
lea ecx, [esp + 0x44]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x413d0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call ebp
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 4
cmp eax, 1
je 0x413d30
push 0x1f4
call ebp
mov eax, dword [esi + 0x18]
push eax
call fcn.0044ba50
add esp, 4
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x5c]
push ecx
push 0x9a
push edx
call fcn.0044bc10
add esp, 0xc
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], 6
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
push str._s.
push ecx
mov byte [esp + 0x270], 7
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
add esp, 0xc
lea ecx, [esp + 0x40]
push ebx
push edx
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 8
call sub.MFC42.DLL_CString::CString_1
cmp edi, ebx
mov byte [esp + 0x264], 9
je 0x414262
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x414258
push 0x9c4
call ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x38]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x268], 0xa
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x268], 0xb
call fcn.004581c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x264], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x492a84
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x40]
push 0x492a84
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 8]
add esp, 0x20
cmp byte [ecx + 0x189], 0x14
je 0x414136
mov ebp, dword [esp + 0x20]
mov edi, str.Super_USB.exe
mov ecx, ebp
mov al, byte [ecx]
mov dl, al
cmp al, byte [edi]
jne 0x414051
cmp dl, bl
je 0x413e99
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [edi + 1]
jne 0x414051
add ecx, 2
add edi, 2
cmp dl, bl
jne 0x413e71
xor ecx, ecx
jmp 0x414056
cmp al, 1
jne 0x413ba0
cmp dword [ecx + 0x110], ebx
je 0x413ba0
lea ecx, [esp + 0x14]
push str.IDS_STS_READONLY_COPY
push ecx
call dword [0x49773c]
add esp, 8
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
mov byte [esp + 0x268], 2
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x49772c]
push ebx
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x80
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x80]
push eax
push 0x9a
push ecx
call fcn.0044bc10
mov eax, dword [esi + 8]
add esp, 0x30
cmp dword [eax + 0x30], 1
jne 0x413f7f
push edi
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x413f7f
lea edx, [esp + 0x14]
push 0x48d780
push edx
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x413fbc
push edi
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x413fbc
lea eax, [esp + 0x14]
push 0x48d780
push eax
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
push 0x3e8
call ebp
mov ecx, esi
call fcn.00414980
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov eax, dword [esi + 0x18]
push eax
call fcn.0044ba50
mov edx, dword [esi + 0x18]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x85], 0x40
push ecx
push 0x200
push 0x9b
push edx
call fcn.0044bcd0
add esp, 0x38
mov ecx, esi
call fcn.00418080
test eax, eax
jne 0x413ba0
lea eax, [esp + 0x14]
push 0x48d780
push eax
mov dword [esp + 0x1c], 0x92100
call sub.MSVCRT.dll__CxxThrowException
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
je 0x414241
mov edi, str.securelock.exe
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x414089
cmp cl, bl
je 0x414085
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x414089
add eax, 2
add edi, 2
cmp cl, bl
jne 0x414065
xor eax, eax
jmp 0x41408e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x414241
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
cmp eax, 0x10
jne 0x414107
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x30], 1
jne 0x4140d8
lea eax, [esi + 0xc0]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
je 0x414476
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x414107
lea eax, [esi + 0xc0]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
je 0x41448d
mov eax, dword [esp + 0x18]
push eax
call edi
cmp eax, 0x10
je 0x414241
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4144a4
jmp 0x414241
mov ebp, dword [esp + 0x20]
mov edi, 0x4930ec
mov ecx, ebp
mov al, byte [ecx]
mov dl, al
cmp al, byte [edi]
jne 0x414165
cmp dl, bl
je 0x414161
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [edi + 1]
jne 0x414165
add ecx, 2
add edi, 2
cmp dl, bl
jne 0x414141
xor ecx, ecx
jmp 0x41416a
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
je 0x414241
mov edi, str.securelock.exe
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x41419d
cmp cl, bl
je 0x414199
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x41419d
add eax, 2
add edi, 2
cmp cl, bl
jne 0x414179
xor eax, eax
jmp 0x4141a2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x414241
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
cmp eax, 0x10
jne 0x41421b
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x30], 1
jne 0x4141ec
lea eax, [esi + 0xc0]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
je 0x4144c1
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x41421b
lea eax, [esi + 0xc0]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
je 0x4144d8
mov eax, dword [esp + 0x18]
push eax
call edi
cmp eax, 0x10
je 0x414241
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4144ef
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 9
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x10], ebx
jne 0x413dba
push 0x3e8
call ebp
mov ecx, esi
call fcn.00414980
lea eax, [esp + 0x5c]
mov ecx, dword [esi + 0x18]
push eax
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push ecx
call fcn.0044bd90
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 0x28
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x264], 5
call fcn.00458490
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x114]
cmp cl, bl
je 0x414938
cmp dword [eax + 0x110], ebx
jne 0x41460c
cmp byte [eax + 0xdd], 1
jne 0x41460c
lea eax, [esp + 0x10]
push str.IDS_STS_PRE_COPY_FILE
push eax
call dword [0x49773c]
add esp, 8
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
mov byte [esp + 0x268], 0xc
call fcn.004581c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 4]
mov edx, dword [0x49772c]
push ebx
push ecx
push 0x40c
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 8]
cmp byte [eax + 0x114], bl
je 0x414938
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x80
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x80]
push eax
push 0x9a
push ecx
call fcn.0044bc10
lea edx, [esp + 0x8c]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push ebx
push ebx
push ebx
push 0xff
push 0x51
push 0xf8
push eax
call fcn.0044bd90
add esp, 0x54
push 0x1f4
call ebp
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0044ba50
add esp, 4
cmp eax, 1
je 0x41441a
push 0x1f4
call ebp
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 4
mov eax, dword [esi + 8]
test byte [eax + 0x114], 1
je 0x414549
mov byte [esi + 0xf2], 1
mov ecx, dword [eax + 0x30]
cmp ecx, 1
jne 0x41450c
push edi
push ecx
add eax, 0x118
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x41450c
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x414549
push edi
push ecx
add eax, 0x118
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x414549
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
test byte [eax + 0x114], 2
je 0x4145da
mov byte [esi + 0xf2], 2
mov ecx, dword [eax + 0x30]
cmp ecx, 1
jne 0x41459d
push edi
push ecx
add eax, 0x11c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x41459d
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x4145da
push edi
push ecx
add eax, 0x11c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x4145da
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00414980
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov eax, dword [esi + 0x18]
push eax
jmp 0x414930
cmp cl, bl
je 0x414938
mov cl, byte [eax + 0xdc]
cmp cl, 4
je 0x414938
cmp dword [eax + 0x110], ebx
jne 0x414938
cmp byte [eax + 0xdd], 2
jne 0x414938
cmp cl, 0x40
je 0x414938
lea ecx, [esp + 0x10]
push str.IDS_STS_PRE_COPY_FILE
push ecx
call dword [0x49773c]
add esp, 8
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
mov byte [esp + 0x268], 0xd
call fcn.004581c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x49772c]
push ebx
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 8]
test byte [ecx + 0x114], 1
je 0x4147e6
lea edx, [esp + 0x5c]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push eax
call fcn.0044bd90
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x80]
push ecx
push 0x9a
push edx
call fcn.0044bc10
lea eax, [esp + 0x8c]
mov ecx, dword [esi + 0x18]
push eax
push 0x200
push ebx
push ebx
push ebx
push 0xff
push 0x51
push 0xf8
push ecx
call fcn.0044bd90
add esp, 0x54
push 0x1f4
call ebp
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 4
cmp eax, 1
je 0x41472f
push 0x1f4
call ebp
mov eax, dword [esi + 0x18]
push eax
call fcn.0044ba50
add esp, 4
mov eax, dword [esi + 8]
mov byte [esi + 0xf2], 1
cmp dword [eax + 0x30], 1
jne 0x414774
push edi
push ecx
add eax, 0x118
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x414774
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x4147b1
push edi
push ecx
add eax, 0x118
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x4147b1
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00414980
lea eax, [esp + 0x5c]
mov ecx, dword [esi + 0x18]
push eax
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push ecx
call fcn.0044bd90
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 0x28
mov eax, dword [esi + 8]
test byte [eax + 0x114], 2
je 0x414938
lea ecx, [esp + 0x5c]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push ebx
push ebx
push 0x40
push ebx
push 0x80
push 0xfa
push edx
call fcn.0044bd90
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x80]
push eax
push 0x9a
push ecx
call fcn.0044bc10
lea edx, [esp + 0x8c]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push ebx
push ebx
push ebx
push 0xff
push 0x51
push 0xf8
push eax
call fcn.0044bd90
add esp, 0x54
push 0x1f4
call ebp
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0044ba50
add esp, 4
cmp eax, 1
je 0x414881
push 0x1f4
call ebp
mov edx, dword [esi + 0x18]
push edx
call fcn.0044ba50
add esp, 4
mov eax, dword [esi + 8]
mov byte [esi + 0xf2], 2
cmp dword [eax + 0x30], 1
jne 0x4148c6
push edi
push ecx
add eax, 0x11c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414a20
cmp eax, ebx
jne 0x4148c6
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], ebx
jne 0x414903
push edi
push ecx
add eax, 0x11c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
mov ecx, esi
call fcn.00414ca0
cmp eax, ebx
jne 0x414903
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00414980
lea edx, [esp + 0x5c]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push ebx
push ebx
push 0x20
push ebx
push 0x80
push 0xfa
push eax
call fcn.0044bd90
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0044ba50
add esp, 0x28
mov ecx, esi
call fcn.00414980
lea ecx, [esp + 0x3c]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x258
ret