Function at 0x40d2f4
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push 0x284
mov eax, 0x4217c9
call fcn.0041f62b
mov eax, dword [ebp + 8]
and dword [ebp - 0x274], 0
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.Before_CMD4:_desc_s__account_s
push 0x427484
call fcn.004151bb
add esp, 0x10
lea esi, [ebp - 0x264]
call fcn.0040efb2
lea eax, [ebp - 0x244]
push eax
mov ecx, str.Version
mov byte [ebp - 4], 3
call fcn.0040a69d
push 3
lea eax, [ebp - 0x248]
push 0x42a9a0
push eax
mov byte [ebp - 4], 4
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 5
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ToolVer
call fcn.0040a69d
push 0x427454
lea eax, [ebp - 0x248]
push 0x42a9ac
push eax
mov byte [ebp - 4], 6
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 7
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.AppName
call fcn.0040a69d
mov byte [ebp - 4], 8
lea eax, [ebp - 0x258]
push eax
call fcn.004010c5
call fcn.0040179e
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x248]
push eax
call fcn.00414cf2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xa
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.AppVer
call fcn.0040a69d
mov byte [ebp - 4], 0xb
call fcn.004010c5
call fcn.004017dc
push eax
mov esi, 0x4279c0
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0041162b
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xc
call fcn.0040efd5
mov edi, eax
mov eax, ebx
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ErrAdd
call fcn.0040a69d
mov byte [ebp - 4], 0xd
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x3c]
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ModuleName
call fcn.0040a69d
mov byte [ebp - 4], 0xf
call fcn.004010c5
lea edi, [ebp - 0x248]
mov ecx, eax
call fcn.0040453c
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x10
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ModBaseAddr
call fcn.0040a69d
mov byte [ebp - 4], 0x11
call fcn.004010c5
lea esi, [ebp - 0x248]
call fcn.0040bd16
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x12
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x250]
push eax
lea ebx, [ebp - 0x268]
lea edi, [ebp - 0x24c]
lea esi, [ebp - 0x248]
call fcn.0041153e
pop ecx
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSID
call fcn.0040a69d
mov byte [ebp - 4], 0x13
push dword [ebp - 0x248]
mov ebx, 0x4279c0
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x14
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSMajVer
call fcn.0040a69d
mov byte [ebp - 4], 0x15
push dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x16
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSMinVer
call fcn.0040a69d
mov byte [ebp - 4], 0x17
push dword [ebp - 0x268]
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x18
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSBuildNo
call fcn.0040a69d
mov byte [ebp - 4], 0x19
push dword [ebp - 0x250]
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1a
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x42aa0c
call fcn.0040a69d
mov byte [ebp - 4], 0x1b
call fcn.0040bd58
call fcn.00417910
push eax
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1c
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x42aa10
call fcn.0040a69d
mov byte [ebp - 4], 0x1d
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x1c]
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1e
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.CrashInfo
call fcn.0040a69d
mov byte [ebp - 4], 0x1f
call fcn.004010c5
lea esi, [ebp - 0x250]
call fcn.0040bcfa
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x20
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x42aa20
call fcn.0040a69d
push 4
mov esi, 0x42aa24
lea eax, [ebp - 0x268]
push esi
push eax
mov byte [ebp - 4], 0x21
call fcn.0041162b
add esp, 0xc
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x22
call fcn.0040efd5
mov edi, eax
mov eax, dword [ebp - 0x250]
call fcn.00404616
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.UserAction
call fcn.0040a69d
push 0
lea eax, [ebp - 0x250]
push esi
push eax
mov byte [ebp - 4], 0x23
call fcn.0041162b
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.LCID
call fcn.0040a69d
mov byte [ebp - 4], 0x25
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x2c]
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0041162b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x26
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
xor eax, eax
cmp dword [0x434018], eax
je 0x40db61
push 0x208
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea esi, [ebp - 0x224]
call fcn.004115c1
test eax, eax
je 0x40db61
lea eax, [ebp - 0x244]
push eax
mov ecx, str.HostName
call fcn.0040a69d
mov eax, esi
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x27
call fcn.00414cf2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x28
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [0x433bb0]
mov edi, 0x433bb0
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov esi, 0x167
lea eax, [ebp - 0x250]
push esi
push eax
mov byte [ebp - 4], 0x29
call fcn.004010c5
call fcn.00403b0f
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
test ebx, ebx
je 0x40dc5b
mov eax, dword [0x433bb0]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push ecx
mov byte [ebp - 4], 0x2a
mov eax, esp
mov dword [ebp - 0x250], esp
push esi
push eax
call fcn.004010c5
call fcn.00403b0f
lea ecx, [ebp - 0x24c]
call fcn.00411ef3
lea eax, [ebp - 0x268]
mov dword [esp], 0x4284b4
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404a39
lea ecx, [ebp - 0x250]
push 0x4284c8
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x2b
call fcn.004049dd
add esp, 0x10
lea edi, [ebp - 0x244]
mov byte [ebp - 4], 0x2c
call fcn.00404856
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x244]
call fcn.00405882
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], 0
je 0x40dd3b
push eax
lea eax, [ebp - 0x24c]
push 0x200
push eax
call fcn.00414d12
add esp, 0xc
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.004047bb
push eax
lea eax, [ebp - 0x248]
push eax
mov eax, edi
call fcn.00411319
pop ecx
pop ecx
mov byte [ebp - 4], 0x2e
mov esi, dword [ebp - 0x24c]
test esi, esi
jne 0x40dccd
xor eax, eax
jmp 0x40dcd4
push esi
call sub.MSVCR80.dll_strlen
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404e5d
lea eax, [ebp - 0x258]
push eax
mov ecx, str.UserDescription
call fcn.0040a69d
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x2f
call fcn.0040efd5
mov edi, eax
lea eax, [ebp - 0x248]
call fcn.00404616
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x29
call fcn.004016a4
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x40de03
push eax
lea eax, [ebp - 0x24c]
push 0x32
push eax
call fcn.00414d12
add esp, 0xc
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.004047bb
push eax
lea eax, [ebp - 0x258]
push eax
mov eax, edi
call fcn.00411319
pop ecx
pop ecx
mov byte [ebp - 4], 0x31
mov esi, dword [ebp - 0x24c]
test esi, esi
jne 0x40dd95
xor eax, eax
jmp 0x40dd9c
push esi
call sub.MSVCR80.dll_strlen
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404e5d
lea eax, [ebp - 0x248]
push eax
mov ecx, str.Account
call fcn.0040a69d
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x32
call fcn.0040efd5
mov edi, eax
lea eax, [ebp - 0x258]
call fcn.00404616
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x29
call fcn.004016a4
cmp dword [ebp + 0x14], 0
je 0x40dfe6
call fcn.004010c5
lea esi, [ebp - 0x250]
call fcn.0040bcde
mov byte [ebp - 4], 0x33
push dword [eax]
lea eax, [ebp - 0x24c]
push eax
call fcn.00414cf2
pop ecx
pop ecx
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x248]
push eax
mov ecx, str.detail1
call fcn.0040a69d
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.004047bb
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.00411319
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x37
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004016a4
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
mov ebx, dword [ebp - 0x24c]
test ebx, ebx
jne 0x40decc
xor eax, eax
jmp 0x40ded3
push ebx
call sub.MSVCR80.dll_strlen
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404e5d
lea eax, [ebp - 0x240]
push 0x60
push eax
call fcn.004010c5
mov ecx, eax
call fcn.0040340d
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0x22c], 0x32000
jbe 0x40df45
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
lea eax, [ebp - 0x290]
push 0x20
push eax
call fcn.004010c5
mov ecx, eax
call fcn.0040340d
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x39
call dword [0x423228]
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x38
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x22c], 0
je 0x40dfca
lea eax, [ebp - 0x248]
push eax
mov ecx, str.detail2
call fcn.0040a69d
mov byte [ebp - 4], 0x3a
cmp dword [ebp - 0x228], 0x10
mov eax, dword [ebp - 0x23c]
jae 0x40df78
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x22c]
call fcn.00411319
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x3b
call fcn.0040efd5
mov edi, eax
mov eax, esi
call fcn.00404616
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call fcn.004016a4
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x35
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x29
call fcn.004016a4
mov esi, dword [ebp - 0x270]
and dword [ebp - 0x24c], 0
call fcn.00404601
mov eax, dword [ebp - 0x260]
mov ebx, dword [eax]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x260]
lea edi, [ebp - 0x26c]
lea esi, [ebp - 0x254]
mov dword [ebp - 0x268], eax
call fcn.0040f364
test al, al
jne 0x40e0ce
cmp dword [ebp - 0x24c], 0
je 0x40e060
push 0x42a8fc
push dword [ebp - 0x270]
call fcn.0040ef2f
mov esi, dword [ebp - 0x254]
test esi, esi
jne 0x40e070
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x40e07b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [ebx + 0xc]
push dword [ebp - 0x270]
call fcn.0040ef2f
push 0x42a6dc
push dword [ebp - 0x270]
call fcn.0040ef2f
cmp ebx, dword [esi + 4]
jne 0x40e0a4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [ebp - 0x270]
lea eax, [ebx + 0x10]
call fcn.0040467d
inc dword [ebp - 0x24c]
lea esi, [ebp - 0x254]
call fcn.004056d4
mov ebx, dword [ebp - 0x250]
jmp 0x40e022
mov edi, dword [ebp - 0x270]
push dword [edi]
lea eax, [ebp - 0x250]
push eax
call fcn.00414c56
mov esi, dword [ebp - 0x250]
push esi
push str.cmd4_s
push 0x427484
call fcn.004151bb
add esp, 0x14
lea eax, [esi - 0x10]
call fcn.004016a4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.00404d0d
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004016a4
mov eax, edi
call fcn.0041f6ae
ret 0x10