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

Disassembly:
push 0xffffffffffffffff
push 0x405618
mov eax, dword fs:[0]
push eax
sub esp, 0x5c8
mov eax, dword [0x408018]
xor eax, esp
mov dword [esp + 0x5c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0x5dc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5ec]
mov esi, ecx
push 0x1000
lea ebx, [esi + 0x101c]
push 0
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], esi
mov ebp, 0x62
mov dword [0x408424], esi
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x80]
add esp, 0xc
lea edi, [esi + 0x18]
push ecx
mov dword [0x408438], 0
call section..text
mov dword [esp + 0x20], eax
dec eax
add esp, 4
cmp eax, 0xff
ja 0x402a22
push str.get_pid
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x74]
mov edx, str.get_pid
mov esi, edi
cmp eax, 4
jb 0x401f24
lea esp, [esp]
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x401f28
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x401f10
test eax, eax
je 0x401f6b
movzx ecx, byte [esi]
movzx ebx, byte [edx]
sub ecx, ebx
jne 0x401f63
cmp eax, 1
jbe 0x401f6b
movzx ecx, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub ecx, ebx
jne 0x401f63
cmp eax, 2
jbe 0x401f6b
movzx ecx, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub ecx, ebx
jne 0x401f63
cmp eax, 3
jbe 0x401f6b
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x401f8a
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x18]
push eax
push 0x4063c4
call fcn.00404230
add esp, 8
jmp 0x4029f8
push str.start_service
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, str.start_service
mov esi, edi
cmp eax, 4
jb 0x401fb5
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x401fb9
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x401fa1
test eax, eax
je 0x402000
movzx ecx, byte [esi]
movzx ebx, byte [edx]
sub ecx, ebx
jne 0x401ff4
cmp eax, 1
jbe 0x402000
movzx ecx, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub ecx, ebx
jne 0x401ff4
cmp eax, 2
jbe 0x402000
movzx ecx, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub ecx, ebx
jne 0x401ff4
cmp eax, 3
jbe 0x402000
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x402089
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
push ecx
lea edi, [esp + 0x34]
mov ebx, 0x40843c
mov dword [esp + 0x20], ebp
call fcn.004035f0
mov esi, dword [esp + 0x20]
lea ebx, [esi + 0x141cc]
lea eax, [esi + 0x141c0]
call fcn.004015e0
test eax, eax
jne 0x40206a
lea eax, [esi + 0x141c4]
call fcn.004015e0
test eax, eax
jne 0x40206a
lea eax, [esi + 0x141c8]
call fcn.004015e0
test eax, eax
jne 0x40206a
xor ebp, ebp
push str.done
jmp 0x4029e5
push ebp
call fcn.004015b0
add esp, 4
push str.fail
mov ebp, eax
mov eax, dword [esp + 0x1c]
push 0x1000
push eax
jmp 0x4029ef
push str.update
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, str.update
mov esi, edi
cmp eax, 4
jb 0x4020b4
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x4020b8
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x4020a0
test eax, eax
je 0x4020ff
movzx ecx, byte [esi]
movzx ebx, byte [edx]
sub ecx, ebx
jne 0x4020f3
cmp eax, 1
jbe 0x4020ff
movzx ecx, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub ecx, ebx
jne 0x4020f3
cmp eax, 2
jbe 0x4020ff
movzx ecx, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub ecx, ebx
jne 0x4020f3
cmp eax, 3
jbe 0x4020ff
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x4023e9
mov ecx, dword [esp + 0x1c]
push str.tvpcd:
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
je 0x4029f8
mov ebx, dword [sym.imp.MSVCR90.dll_strcpy_s]
mov esi, dword [esp + 0x20]
lea esp, [esp]
add eax, 0xffffff9d
mov ebp, 0x10
cmp eax, 0x13
ja case.0x402148.101
movzx edx, byte [eax + 0x402a7c]
jmp dword [edx*4 + 0x402a64]
push 0x40622b
lea ecx, [esp + 0x47c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esi + 0x141cc]
lea ecx, [esi + 0x141c0]
lea edi, [esp + 0x478]
mov dword [esp + 0x5e4], 0
call fcn.00402bf0
mov ebp, eax
test ebp, ebp
jne 0x402391
push 0x103
push eax
mov byte [esp + 0x4d4], al
lea eax, [esp + 0x4d5]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 0x4cc]
mov ecx, edi
call fcn.00404680
mov edx, dword [esp + 0x18]
mov ecx, esi
push ecx
push 0x1000
push edx
call ebx
mov esi, dword [esp + 0x2c]
jmp 0x40238e
lea ecx, [esp + 0x478]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x5e4], 1
mov ecx, dword [0x408420]
lea edi, [esp + 0x478]
call fcn.004046f0
mov eax, dword [esp + 0x47c]
cmp dword [esp + 0x490], ebp
jae 0x402212
lea eax, [esp + 0x47c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esi + 0x141cc]
push eax
lea edi, [esi + 0x141c4]
call fcn.00402fc0
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x402258
mov ecx, dword [esp + 0x18]
push str.download_started
push 0x1000
mov byte [esi + 0x141e8], 1
push ecx
jmp 0x40238c
mov edx, dword [esp + 0x18]
push str.failed_to_download
push 0x1000
mov dword [0x408428], 0xffffffff
push edx
jmp 0x40238c
mov eax, dword [0x40842c]
mov ecx, dword [0x408428]
mov edx, dword [esp + 0x18]
push eax
push ecx
push str._d__d
xor ebp, ebp
call fcn.00404230
add esp, 0xc
jmp 0x4023a9
cmp byte [esi + 0x141e8], 0
jne 0x4022bf
mov edx, dword [esp + 0x18]
push str.done
push 0x1000
push edx
xor ebp, ebp
call ebx
add esp, 0xc
jmp 0x4023a9
lea eax, [esi + 0x141c4]
push eax
call dword [sym.imp.wct_online.dll_CancelDownload]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4022f4
mov ecx, dword [esp + 0x18]
push str.done
push 0x1000
push ecx
mov byte [esi + 0x141e8], al
call ebx
add esp, 0xc
jmp 0x4023a9
mov edx, dword [esp + 0x18]
push str.failed_to_cancel_download
push 0x1000
push edx
call ebx
add esp, 0xc
jmp 0x4023a9
lea ecx, [esp + 0x478]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x5e4], 2
mov ecx, dword [esi + 4]
lea edi, [esp + 0x478]
call fcn.004046f0
mov eax, dword [esp + 0x47c]
cmp dword [esp + 0x490], ebp
jae 0x40234b
lea eax, [esp + 0x47c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esi + 0x141cc]
lea ecx, [esi + 0x141c0]
call fcn.004032e0
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x40237d
cmp ebp, 0x1b5c
jne 0x402391
mov eax, dword [esp + 0x18]
push str.done
push 0x1000
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x478]
mov dword [esp + 0x5e4], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x1c]
push str.tvpcd:
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
jne 0x402130
jmp 0x4029f8
mov eax, dword [esp + 0x18]
push str.arg_invalid
push 0x1000
push eax
call ebx
mov eax, 0x62
jmp 0x402a35
push str.install
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, str.install
mov esi, edi
cmp eax, 4
jb 0x402414
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x402418
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x402400
test eax, eax
je 0x40245f
movzx ecx, byte [esi]
movzx ebx, byte [edx]
sub ecx, ebx
jne 0x402453
cmp eax, 1
jbe 0x40245f
movzx ecx, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub ecx, ebx
jne 0x402453
cmp eax, 2
jbe 0x40245f
movzx ecx, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub ecx, ebx
jne 0x402453
cmp eax, 3
jbe 0x40245f
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x4024dc
lea ecx, [esp + 0x478]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x5e4], 3
mov ecx, dword [esp + 0x78]
lea edi, [esp + 0x478]
call fcn.004046f0
sub esp, 0x1c
mov eax, edi
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004030e0
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x4024bf
mov ecx, dword [esp + 0x18]
push str.done
push 0x1000
push ecx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [esp + 0x478]
mov dword [esp + 0x5e4], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x4029f8
push str.upload
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, str.upload
mov esi, edi
cmp eax, 4
jb 0x402507
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40250b
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x4024f3
test eax, eax
je 0x402552
movzx ecx, byte [esi]
movzx ebx, byte [edx]
sub ecx, ebx
jne 0x402546
cmp eax, 1
jbe 0x402552
movzx ecx, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub ecx, ebx
jne 0x402546
cmp eax, 2
jbe 0x402552
movzx ecx, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub ecx, ebx
jne 0x402546
cmp eax, 3
jbe 0x402552
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x4027d5
mov ecx, dword [esp + 0x1c]
push str.pcf:
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
je 0x4029f8
mov ebx, dword [sym.imp.MSVCR90.dll_strcpy_s]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp eax, 0x63
je 0x402754
cmp eax, 0x66
je 0x4025b7
cmp eax, 0x70
jne 0x4027be
mov edx, dword [0x408434]
mov eax, dword [0x408430]
push edx
push eax
push str._d__d
mov edx, esi
xor ebp, ebp
call fcn.00404230
jmp 0x402796
lea ecx, [esp + 0x478]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x5e4], 4
mov ecx, dword [0x408420]
lea edi, [esp + 0x478]
call fcn.004046f0
push 0x40622b
lea ecx, [esp + 0x498]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
push 0x406440
mov ecx, edi
mov byte [esp + 0x5ec], 5
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, eax
cmp esi, dword [ecx]
je 0x40268d
mov edx, dword [esp + 0x48c]
sub edx, esi
dec edx
push edx
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x498]
mov byte [esp + 0x5e8], 6
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5e4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
push 0
lea edx, [esp + 0x60]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, edi
mov byte [esp + 0x5e8], 7
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0x5e4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
lea eax, [esp + 0x4b0]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
lea edx, [esp + 0x4b0]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0x620], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, dword [esp + 0x58]
lea ecx, [esi + 0x141cc]
lea edi, [esi + 0x141c8]
mov byte [esp + 0x61c], 5
call fcn.00402cb0
mov ebp, eax
add esp, 0x38
test ebp, ebp
jne 0x402701
mov eax, dword [esp + 0x18]
push str.upload_started
push 0x1000
mov byte [esi + 0x141e9], 1
push eax
jmp 0x40271a
mov ecx, dword [esp + 0x18]
push str.failed_to_upload
push 0x1000
mov dword [0x408430], 0xffffffff
push ecx
call ebx
add esp, 0xc
lea ecx, [esp + 0x494]
mov byte [esp + 0x5e4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x478]
mov dword [esp + 0x5e4], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, esi
mov esi, dword [esp + 0x18]
jmp 0x402799
cmp byte [edi + 0x141e9], 0
jne 0x402766
xor ebp, ebp
push str.done
jmp 0x40278e
lea edx, [edi + 0x141c8]
push edx
call dword [sym.imp.wct_online.dll_CancelUploadFile]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x402789
mov byte [edi + 0x141e9], al
push str.done
jmp 0x40278e
push str.failed_to_cancel_upload
push 0x1000
push esi
call ebx
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push str.pcf:
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
jne 0x402580
jmp 0x4029f8
push str.arg_invalid
push 0x1000
push esi
call ebx
mov eax, 0x62
jmp 0x402a35
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x406378
call ebx
mov edx, 0x406378
mov esi, edi
cmp eax, 4
jb 0x402804
mov edi, edi
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x402808
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x4027f0
test eax, eax
je 0x40284f
movzx ecx, byte [esi]
movzx ebp, byte [edx]
sub ecx, ebp
jne 0x402843
cmp eax, 1
jbe 0x40284f
movzx ecx, byte [esi + 1]
movzx ebp, byte [edx + 1]
sub ecx, ebp
jne 0x402843
cmp eax, 2
jbe 0x40284f
movzx ecx, byte [esi + 2]
movzx ebp, byte [edx + 2]
sub ecx, ebp
jne 0x402843
cmp eax, 3
jbe 0x40284f
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x402943
mov edi, dword [esp + 0x1c]
push 0x406480
lea eax, [esp + 0x78]
push eax
push edi
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
je 0x4028b4
jmp 0x402870
cmp eax, 0x6f
jne 0x402895
mov esi, dword [0x408420]
push 0x406480
lea ecx, [esp + 0x78]
push ecx
push edi
call fcn.00404780
add esp, 0xc
cmp eax, 0xffffffff
jne 0x402870
jmp 0x4028b8
mov edx, dword [esp + 0x18]
push str.arg_invalid
push 0x1000
push edx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
mov eax, 0x62
jmp 0x402a35
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x4b0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edi, [esp + 0x4b0]
mov ecx, esi
mov dword [esp + 0x5e4], 9
call fcn.004046f0
sub esp, 0x1c
mov eax, edi
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x141cc]
lea esi, [eax + 0x141c0]
call fcn.00402b50
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x402926
mov ecx, dword [esp + 0x18]
push str.done
push 0x1000
push ecx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x5e4], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x4029f8
push str.close_server
call ebx
mov edx, str.close_server
mov esi, edi
cmp eax, 4
jb 0x40296a
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40296e
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x402956
test eax, eax
je 0x4029b1
movzx ecx, byte [esi]
movzx edi, byte [edx]
sub ecx, edi
jne 0x4029a9
cmp eax, 1
jbe 0x4029b1
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x4029a9
cmp eax, 2
jbe 0x4029b1
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x4029a9
cmp eax, 3
jbe 0x4029b1
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jne 0x4029db
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
push eax
call fcn.004015b0
mov ecx, dword [esp + 0x1c]
add esp, 4
push str.done
push 0x1000
mov ebp, eax
push ecx
jmp 0x4029ef
mov ebp, 0x62
push str.invalid
mov edx, dword [esp + 0x1c]
push 0x1000
push edx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
push esi
push edx
inc ecx
push str.__d_Response:__s_n
mov dword [eax + 0x201c], ecx
call dword [sym.imp.MSVCR90.dll_printf]
jmp 0x402a33
push str.argument_error
push 0x1000
push ebx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
mov eax, ebp
add esp, 0xc
mov ecx, dword [esp + 0x5dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c0]
xor ecx, esp
call fcn.004048ea
add esp, 0x5d4
ret 4