Function at 0x409d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c189c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x4fee70]
push ebx
push esi
push edi
push 0x4d1e78
lea ecx, [esp + 0x2c]
mov dword [esp + 0x338], eax
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::constructor_char_const__]
xor esi, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x344], esi
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::constructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x344], 1
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::constructor_void_]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x30]
push edx
push 1
mov byte [esp + 0x354], 2
call dword [sym.imp.engine.dll_long_int___cdecl_ExpandxFilePath_unsigned_long_int__class_CTFileName_const___class_CTFileName___class_CTFileName__]
mov edi, eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 1
call dword [sym.imp.engine.dll_long_int___cdecl_ExpandFilePath_unsigned_long_int__class_CTFileName_const___class_CTFileName__]
add esp, 0x1c
or edi, eax
mov dword [esp + 0x20], edi
jne 0x409e0a
push 0x4d1e8c
call dword [sym.imp.engine.dll_void___cdecl_CPrintF_char_const__]
add esp, 4
push esi
push 0x4d1ea4
push 0x4d1eac
push esi
call dword [sym.imp.user32.dll_MessageBoxA]
push 1
call dword [sym.imp.msvcr71.dll_exit]
lea ecx, [esp + 0x58]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileStream::constructor_void_]
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x34c], 3
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileStream::Open_t_class_CTFileName_const___enum_CTStream::OpenMode_]
mov byte [esp + 0x130], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x131]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::constructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 4
mov dword [esp + 0x14], esi
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::constructor_void_]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x344], 5
call dword [sym.imp.engine.dll_public:_void___thiscall_CMD5::constructor_void_]
xor eax, eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov dword [esp + 0xd1], eax
mov dword [esp + 0xd5], eax
mov dword [esp + 0xd9], eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0xdd], eax
xor edx, edx
mov dword [esp + 0xe1], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 6
mov byte [esp + 0xc8], 0
mov dword [esp + 0xe5], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edx
call dword [sym.imp.engine.dll_public:_int___thiscall_CTStream::AtEOF_void_]
test eax, eax
jne 0x40a1a4
jmp 0x409f00
mov edi, dword [sym.imp.engine.dll_public:_void___thiscall_CTStream::GetLine_t_char___long_int__char_]
push 0xa
push 0x200
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x64]
call edi
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.engine.dll_public:_class_CTString____thiscall_CTString::operator_char_const__]
push 0xa
push 0x200
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x64]
call edi
mov esi, dword [sym.imp.msvcr71.dll_atoi]
lea eax, [esp + 0x130]
push eax
call esi
add esp, 4
push 0xa
push 0x200
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x64]
mov ebx, eax
call edi
lea edx, [esp + 0x130]
push edx
call esi
add esp, 4
push 0x4d1ee0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call dword [sym.imp.engine.dll_public:_int___thiscall_CTString::Matches_char_const__const]
test eax, eax
je 0x409f94
push 0
jmp 0x409f99
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edi, eax
xor esi, esi
jmp 0x409fb0
push 0xa
push 0x200
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x64]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTStream::GetLine_t_char___long_int__char_]
lea edx, [esp + 0x130]
push edx
call dword [sym.imp.msvcr71.dll_atoi]
add esp, 4
push 0xa
mov dword [esp + esi + 0x34], eax
push 0x200
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTStream::GetLine_t_char___long_int__char_]
lea ecx, [esp + 0x130]
push ecx
call dword [sym.imp.msvcr71.dll_atoi]
mov dword [esp + esi + 0x40], eax
add esi, 4
add esp, 4
cmp esi, 0xc
jl 0x409fb0
push 0xa
push 0x200
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x64]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTStream::GetLine_t_char___long_int__char_]
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.engine.dll_public:_class_CTString____thiscall_CTString::operator_char_const__]
add edi, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], edi
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::constructor_void_]
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, 0xfffffffc
mov byte [esp + 0x344], 7
jbe 0x40a0fc
mov ebx, dword [esp + 0x3c]
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + edi*4]
push 0x10
lea edx, [esp + 0xf0]
push edx
push esi
call dword [sym.imp.msvcr71.dll__itoa]
add esp, 0xc
cmp esi, ebx
jb 0x40a095
cmp esi, dword [esp + 0x30]
jbe 0x40a0ad
cmp esi, dword [esp + 0x40]
jb 0x40a0a1
cmp esi, dword [esp + 0x34]
jbe 0x40a0ad
cmp esi, dword [esp + 0x44]
jb 0x40a0ec
cmp esi, dword [esp + 0x38]
ja 0x40a0ec
test esi, esi
jbe 0x40a0ec
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x348], 8
call dword [sym.imp.engine.dll_public:_class_CTString____thiscall_CTString::operator_class_CTString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x344], 7
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov edx, dword [esp + 0x14]
inc edi
shr edx, 2
cmp edi, edx
jb 0x40a070
lea ecx, [esp + 0x18]
call dword [sym.imp.engine.dll_public:_long_int___thiscall_CTString::Length_void_const]
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x100]
call dword [sym.imp.engine.dll_public:_char____thiscall_CMD5::GetString_char_const___unsigned_int_]
lea edx, [esp + 0xc8]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x40a120
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xc8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40a15d
test cl, cl
je 0x40a159
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a15d
add eax, 2
add esi, 2
test cl, cl
jne 0x40a135
xor eax, eax
jmp 0x40a162
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a253
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004bc8f0
mov ecx, eax
call fcn.004bc9e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 6
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.engine.dll_public:_int___thiscall_CTStream::AtEOF_void_]
test eax, eax
je 0x409f00
lea ecx, [esp + 0x58]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileStream::Close_void_]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x344], 5
call dword [sym.imp.engine.dll_public_virtual:_void___thiscall_CMD5::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 4
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x344], 3
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 2
call dword [sym.imp.engine.dll_public_virtual:_void___thiscall_CTFileStream::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x344], 1
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x344], 0
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::destructor_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x344], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileName::destructor_void_]
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x334]
call fcn.004c0057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x58]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTFileStream::Close_void_]
push 0x4d1eec
call dword [sym.imp.engine.dll_void___cdecl_CPrintF_char_const__]
add esp, 4
push 0
push 0x4d1f04
push 0x4d1f0c
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 1
call dword [sym.imp.msvcr71.dll_exit]
int3