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

Disassembly:
push 0xffffffffffffffff
push 0x441bfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
cmp dword [ebx + 0x60], 0
push edi
mov dword [esp + 0x2c], ebx
je 0x40754c
mov edi, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x60]
add eax, edi
cmp edi, eax
jbe 0x406379
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x60]
add ecx, dword [ebx + 0x5c]
mov esi, edi
mov ebp, edi
shr esi, 2
and ebp, 3
cmp edi, ecx
jb 0x406393
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x58]
cmp eax, esi
ja 0x40639c
sub esi, eax
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + esi*4]
mov edi, dword [eax + ebp*4]
mov eax, dword [ebx + 0x60]
xor ebp, ebp
mov dword [esp + 0x20], edi
cmp eax, ebp
je 0x4063cf
mov edx, dword [ebx + 0x58]
inc dword [ebx + 0x5c]
add edx, edx
add edx, edx
cmp edx, dword [ebx + 0x5c]
ja 0x4063c4
mov dword [ebx + 0x5c], ebp
dec eax
mov dword [ebx + 0x60], eax
cmp eax, ebp
jne 0x4063cf
mov dword [ebx + 0x5c], ebp
mov al, byte [edi + 0x14]
cmp al, 0xf7
jne 0x4069da
mov eax, dword [edi]
add eax, 0xfffffffc
cmp eax, 0x44
ja case.0x4063ef.5
movzx eax, byte [eax + 0x407584]
jmp dword [eax*4 + 0x407568]
mov ecx, dword [0x452534]
cmp byte [ecx + 0x89a], 0
mov ecx, dword [edi + 8]
lea esi, [edi + 4]
je 0x406541
test ecx, ecx
je case.0x4063ef.5
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, 0x1e
jb case.0x4063ef.5
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.00401f70
call fcn.00403cf0
mov ecx, dword [esi + 4]
add esp, 0x14
movzx edi, ax
test ecx, ecx
jne 0x40644c
xor eax, eax
jmp 0x406451
mov eax, dword [esi + 8]
sub eax, ecx
sub eax, edi
cmp eax, 0x17
jb case.0x4063ef.5
lea ebp, [edi + 0xf]
push ebp
mov ecx, esi
call fcn.00401150
cmp byte [eax], 2
jb case.0x4063ef.5
lea edx, [edi + 6]
push edx
mov ecx, esi
mov byte [ebx + 0xb3], 1
call fcn.00401150
mov al, byte [eax]
lea ecx, [edi + 0x10]
push ecx
mov ecx, esi
mov byte [ebx + 0xb4], al
call fcn.00401150
movzx edx, byte [eax]
lea eax, [edi + 0x11]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
mov dword [ebx + 0xbc], edx
call fcn.00401f70
call fcn.00403cf0
add esp, 0x14
push eax
call dword [sym.imp.WS2_32.DLL_htons]
add edi, 0x13
push edi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
mov word [ebx + 0xb6], ax
call fcn.00401f70
call fcn.00403e70
add esp, 0x14
push ebp
mov ecx, esi
mov dword [ebx + 0xb8], eax
call fcn.00401150
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [0x452534]
mov byte [ecx + 0xc], 1
mov edx, dword [0x452534]
mov byte [edx + 9], 0xff
mov eax, dword [0x452534]
mov byte [eax + 0xb], 0xff
mov ecx, dword [0x452534]
mov byte [ecx + 0xd], 0xff
mov ecx, dword [ebx + 0x38]
call fcn.0040a010
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
lea eax, [edi + 4]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
test ecx, ecx
je 0x406595
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, 6
jb 0x406595
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.00401f70
call fcn.00403cf0
movzx edx, ax
mov eax, dword [esi + 4]
add esp, 0x14
test eax, eax
jne 0x406576
xor ecx, ecx
jmp 0x40657b
mov ecx, dword [esi + 8]
sub ecx, eax
lea eax, [edx + 7]
cmp ecx, eax
jb 0x406595
add edx, 6
push edx
mov ecx, esi
call fcn.00401150
mov cl, byte [eax]
mov byte [ebx + 0xb4], cl
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x406605
cmp byte [ecx + 0x78], 0
mov eax, 4
je 0x4065ac
mov eax, 6
cmp byte [ecx + 0xc4], 0
je 0x4065b8
or eax, 1
push eax
lea edx, [esp + 0x74]
push 2
push edx
call fcn.00405cd0
add esp, 0xc
mov ecx, dword [ebx + 0x34]
push eax
mov dword [esp + 0x354], 0
call fcn.004092f0
mov dword [esp + 0x350], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.004013f0
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
lea eax, [edi + 4]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
lea eax, [esp + 0x60]
push 1
push eax
call fcn.00405b50
add esp, 8
mov ecx, dword [ebx + 0x34]
push eax
mov dword [esp + 0x354], 1
call fcn.004092f0
mov dword [esp + 0x350], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x4065eb
cmp word [ebx + 0xb6], bp
je 0x406711
mov esi, 0x446f24
mov byte [ebx + 0xae], 1
cmp dword [ebx], ebp
jne 0x40666c
push str.Warcraft_III
push str.Warcraft_III
call dword [sym.imp.USER32.DLL_FindWindowA]
mov dword [ebx], eax
test eax, eax
je 0x406689
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.DLL_IsIconic]
test eax, eax
je 0x406689
mov edx, dword [ebx]
push 9
push edx
call dword [sym.imp.USER32.DLL_ShowWindow]
mov esi, 0x446f10
push 0x104
lea eax, [esp + 0x244]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [esp + 0x240]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.DLL_strrchr]
add esp, 8
test eax, eax
je 0x4066b8
mov byte [eax], 0
push esi
lea edx, [esp + 0x244]
push edx
push str._sGameStarted_s.wav
mov eax, edx
push 0x104
push eax
mov byte [esp + 0x358], 0
call dword [sym.imp.MSVCR80.DLL__snprintf]
add esp, 0x14
push 0x20003
push 0
lea ecx, [esp + 0x248]
push ecx
mov byte [esp + 0x350], 0
call dword [sym.imp.WINMM.DLL_PlaySoundA]
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
lea eax, [edi + 4]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
mov edx, dword [ebx + 0x30]
mov edi, dword [esp + 0x20]
lea eax, [edi + 4]
mov byte [edx + 0x18], 1
mov ecx, dword [ebx + 0x30]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
mov esi, dword [ebx + 0xc0]
cmp esi, dword [ebx + 0xbc]
jae 0x406753
lea edi, [ebx + 0x88]
mov ecx, dword [ebx + 0x30]
push edi
call fcn.004092f0
inc esi
cmp esi, dword [ebx + 0xbc]
jb 0x406741
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0xc0], ebp
mov byte [ebx + 0xb0], 1
mov eax, dword [0x452530]
mov dword [ebx + 0xc8], eax
lea eax, [edi + 4]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
mov esi, dword [ebx + 0xc0]
cmp esi, dword [ebx + 0xbc]
jae 0x4067a6
lea edi, [ebx + 0x88]
mov ecx, dword [ebx + 0x30]
push edi
call fcn.004092f0
inc esi
cmp esi, dword [ebx + 0xbc]
jb 0x406794
mov ecx, dword [ebx + 0xbc]
mov edi, dword [esp + 0x20]
lea eax, [edi + 4]
mov dword [ebx + 0xc0], ecx
mov ecx, dword [ebx + 0x30]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x4063ef.5
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 5
jb case.0x4063ef.5
cmp eax, 4
ja 0x4067eb
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [edi + 8]
mov dl, byte [eax + 4]
test eax, eax
jne 0x4067f9
xor ecx, ecx
jmp 0x4067fe
mov ecx, dword [edi + 0xc]
sub ecx, eax
movzx eax, dl
lea esi, [eax + eax*4 + 5]
cmp ecx, esi
jne case.0x4063ef.5
test dl, dl
je case.0x4063ef.5
lea esi, [ebx + 0x78]
mov dword [esp + 0x18], 5
mov dword [esp + 0x24], eax
mov edi, dword [esi + 4]
mov byte [esp + 0x17], 0
cmp edi, dword [esi + 8]
jbe 0x406837
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ebp, edi
lea esp, [esp]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x40684e
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
test esi, esi
jne 0x406858
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
cmp ebp, edi
je 0x4068b3
test esi, esi
jne 0x406866
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
cmp ebp, dword [esi + 8]
jb 0x406871
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x406887
mov eax, dword [eax + 0xc]
sub eax, ecx
cmp dword [esp + 0x18], eax
jb 0x40688d
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov cl, byte [ebp]
mov edx, dword [esp + 0x18]
cmp cl, byte [edx + eax]
jne 0x4068a5
mov byte [esp + 0x17], 1
cmp ebp, dword [esi + 8]
jb 0x4068b0
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
inc ebp
jmp 0x406840
cmp byte [esp + 0x17], 0
jne 0x4068e9
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4068d0
mov eax, dword [eax + 0xc]
sub eax, ecx
cmp dword [esp + 0x18], eax
jb 0x4068d6
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004039d0
add dword [esp + 0x18], 5
dec dword [esp + 0x24]
jne 0x406824
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
lea eax, [edi + 4]
push eax
call fcn.004092f0
jmp case.default.0x4069ee
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x4063ef.5
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 9
jne case.0x4063ef.5
mov esi, dword [ebx + 0x7c]
cmp esi, dword [ebx + 0x80]
lea edi, [ebx + 0x78]
jbe 0x40693a
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ebp, edi
lea esp, [esp]
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
cmp dword [edi + 4], eax
jbe 0x406952
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
test ebp, ebp
je 0x40695a
cmp ebp, edi
je 0x406960
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x24]
je case.0x4063ef.5
test ebp, ebp
jne 0x406974
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
cmp esi, dword [ebp + 8]
jb 0x40697f
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x406994
mov eax, dword [edx + 0xc]
sub eax, ecx
cmp eax, 4
ja 0x40699e
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 8]
mov al, byte [esi]
cmp al, byte [edx + 4]
jne 0x4069c9
mov eax, dword [edi + 8]
lea ecx, [esi + 1]
sub eax, ecx
test eax, eax
jle 0x4069c1
push eax
push ecx
push eax
push esi
call dword [sym.imp.MSVCR80.DLL_memmove_s]
add esp, 0x10
dec dword [edi + 8]
jmp 0x406940
cmp esi, dword [ebp + 8]
jb 0x4069d4
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
inc esi
jmp 0x406940
cmp al, 0xf8
jne case.default.0x4069ee
mov eax, dword [edi]
dec eax
cmp eax, 8
ja case.default.0x4069ee
jmp dword [eax*4 + 0x4075cc]
mov ecx, dword [edi + 8]
lea esi, [edi + 4]
cmp ecx, ebp
je case.default.0x4069ee
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, 0xc
jne case.default.0x4069ee
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.00401f70
call fcn.00403cf0
add esp, 0x14
push eax
call dword [sym.imp.WS2_32.DLL_htons]
push 7
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
mov word [ebx + 0xb6], ax
call fcn.00401f70
call fcn.00403e70
add esp, 0x14
push 0xb
mov ecx, esi
mov dword [ebx + 0xb8], eax
call fcn.00401150
movzx eax, byte [eax]
mov dword [ebx + 0xbc], eax
mov ecx, dword [0x452534]
inc eax
cmp byte [ecx + 0x898], 0
je 0x406af7
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
add edx, edx
push edx
lea eax, [esp + 0x180]
push eax
call fcn.004010a0
push eax
lea ecx, [esp + 0x8c]
push 0x446ec8
push ecx
mov dword [esp + 0x364], 2
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 8
mov edx, esp
mov dword [esp + 0x38], esp
push str.___.
push eax
push edx
mov byte [esp + 0x378], 3
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov ecx, ebx
call fcn.004061b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x350], 2
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 ecx, [esp + 0x17c]
jmp 0x406b73
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [esp + 0x1f0]
push edx
call fcn.004010a0
push eax
lea eax, [esp + 0xe0]
push 0x446e78
push eax
mov dword [esp + 0x364], 4
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push str._seconds_.
push eax
push ecx
mov byte [esp + 0x378], 5
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov ecx, ebx
call fcn.004061b0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x350], 4
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 ecx, [esp + 0x1ec]
mov dword [esp + 0x350], 0xffffffff
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 [ebx + 0x38], 0
je case.default.0x4069ee
cmp dword [edi], 5
jne case.default.0x4069ee
mov byte [ebx + 0xb3], 1
mov eax, dword [0x452534]
mov dl, 1
add eax, 0xc
xchg byte [eax], dl
mov edx, dword [0x452534]
or cl, 0xff
add edx, 9
xchg byte [edx], cl
mov ecx, dword [0x452534]
or al, 0xff
add ecx, 0xb
xchg byte [ecx], al
mov eax, dword [0x452534]
or dl, 0xff
add eax, 0xd
xchg byte [eax], dl
mov ecx, dword [ebx + 0x38]
call fcn.0040a010
mov ecx, dword [0x452534]
xor al, al
mov byte [esp + 0x17], 0
cmp byte [ecx + 8], al
je 0x406bf9
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x78], al
je 0x406bf9
mov byte [esp + 0x17], 1
cmp byte [ecx + 0xa], 0
je 0x406c0d
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0xc4], 0
je 0x406c0d
mov al, 1
cmp byte [ecx + 0x898], 0
je 0x406dce
test al, al
je 0x406c44
push 0x446e48
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
or dword [esp + 0x10], 1
mov dword [esp + 0x350], 6
jmp 0x406c68
push 0x446e28
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
or dword [esp + 0x10], 2
mov dword [esp + 0x350], 7
cmp byte [esp + 0x17], 0
je 0x406c94
push 0x446e0c
lea ecx, [esp + 0x228]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
or dword [esp + 0x10], 4
mov ebp, 8
mov dword [esp + 0x350], ebp
jmp 0x406cba
push 0x446dec
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ebp, 8
or dword [esp + 0x10], ebp
mov dword [esp + 0x350], 9
push eax
lea eax, [esp + 0x1b8]
push str._:_
push eax
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x446da8
push eax
lea ecx, [esp + 0x120]
push ecx
mov dword [esp + 0x368], 0xa
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push esi
push eax
push edx
mov byte [esp + 0x378], 0xb
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov ecx, ebx
call fcn.004061b0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x350], 0xa
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 ecx, [esp + 0x1b4]
mov byte [esp + 0x350], 9
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 8
mov dword [esp + 0x350], ebp
je 0x406d59
and dword [esp + 0x10], 0xfffffff7
lea ecx, [esp + 0x144]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 4
mov dword [esp + 0x350], 7
je 0x406d7d
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x224]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 2
mov dword [esp + 0x350], 6
je 0x406da1
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 1
mov dword [esp + 0x350], 0xffffffff
je case.default.0x4069ee
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0xb8]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x4069ee
test al, al
je 0x406df8
push 0x446d98
lea ecx, [esp + 0x20c]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
or dword [esp + 0x10], 0x10
mov dword [esp + 0x350], 0xc
jmp 0x406e1c
push 0x446d88
lea ecx, [esp + 0x1d4]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
or dword [esp + 0x10], 0x20
mov dword [esp + 0x350], 0xd
cmp byte [esp + 0x17], 0
je 0x406e47
push 0x446d98
lea ecx, [esp + 0x19c]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
or dword [esp + 0x10], 0x40
mov dword [esp + 0x350], 0xe
jmp 0x406e6c
push 0x446d88
lea ecx, [esp + 0x164]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
or dword [esp + 0x10], 0x80
mov dword [esp + 0x350], 0xf
push eax
lea eax, [esp + 0x12c]
push str.Voice_chat_microphone
push eax
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push str.__speaker
push eax
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x368], 0x10
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push esi
push eax
push edx
mov byte [esp + 0x378], 0x11
call dword [sym.imp.MSVCP80.DLL_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov ecx, ebx
call fcn.004061b0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x350], 0x10
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 ecx, [esp + 0x128]
mov byte [esp + 0x350], 0xf
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 0x80
mov dword [esp + 0x350], 0xe
je 0x406f12
and dword [esp + 0x10], 0xffffff7f
lea ecx, [esp + 0x160]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 0x40
mov dword [esp + 0x350], 0xd
je 0x406f36
and dword [esp + 0x10], 0xffffffbf
lea ecx, [esp + 0x198]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 0x20
mov dword [esp + 0x350], 0xc
je 0x406f5a
and dword [esp + 0x10], 0xffffffdf
lea ecx, [esp + 0x1d0]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [esp + 0x10], 0x10
mov dword [esp + 0x350], 0xffffffff
je case.default.0x4069ee
and dword [esp + 0x10], 0xffffffef
lea ecx, [esp + 0x208]
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.default.0x4069ee
mov edx, dword [edi + 8]
lea eax, [edi + 4]
cmp edx, ebp
je case.default.0x4069ee
mov ecx, dword [eax + 8]
sub ecx, edx
cmp ecx, 8
jne case.default.0x4069ee
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401f70
call fcn.00403e70
mov edx, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x9c]
sub ecx, edx
add esp, 0x14
cmp eax, ecx
jbe 0x407041
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
jbe 0x406fdb
mov eax, edx
mov dword [esp + 0x18], edx
xor ebp, ebp
cmp eax, ebp
jbe 0x407043
lea ecx, [ebx + 0x64]
call fcn.004094a0
mov edi, dword [eax]
cmp edi, ebp
je 0x407011
mov eax, dword [edi + 8]
cmp eax, ebp
je 0x406fff
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
push edi
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebx + 0x74]
cmp eax, ebp
je 0x407035
mov edx, dword [ebx + 0x6c]
inc dword [ebx + 0x70]
add edx, edx
add edx, edx
cmp edx, dword [ebx + 0x70]
ja 0x40702a
mov dword [ebx + 0x70], ebp
dec eax
mov dword [ebx + 0x74], eax
cmp eax, ebp
jne 0x407035
mov dword [ebx + 0x70], ebp
dec dword [esp + 0x18]
jne 0x406fe1
mov edi, dword [esp + 0x20]
jmp 0x407043
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x350], 0x12
cmp dword [ebx + 0x74], ebp
je 0x4070bc
mov eax, dword [ebx + 0x74]
cmp eax, dword [ebx + 0x4c]
jbe 0x407081
lea ecx, [ebx + 0x64]
call fcn.004094a0
mov eax, dword [eax]
mov ecx, dword [ebx + 0x34]
add eax, 4
push eax
call fcn.004092f0
lea ecx, [ebx + 0x64]
call fcn.004094a0
push eax
lea ecx, [esp + 0x40]
call fcn.00402fa0
mov eax, dword [ebx + 0x74]
cmp eax, ebp
je 0x4070b7
mov edx, dword [ebx + 0x6c]
inc dword [ebx + 0x70]
add edx, edx
add edx, edx
cmp edx, dword [ebx + 0x70]
ja 0x4070ac
mov dword [ebx + 0x70], ebp
dec eax
mov dword [ebx + 0x74], eax
cmp eax, ebp
jne 0x4070b7
mov dword [ebx + 0x70], ebp
cmp dword [ebx + 0x74], ebp
jne 0x407063
lea eax, [esp + 0x3c]
lea ecx, [ebx + 0x64]
push eax
call fcn.00405740
lea ecx, [esp + 0x3c]
mov byte [ebx + 0xb1], 1
mov dword [esp + 0x350], 0xffffffff
call fcn.00401700
jmp case.default.0x4069ee
mov edx, dword [edi + 8]
lea eax, [edi + 4]
cmp edx, ebp
je case.default.0x4069ee
mov ecx, dword [eax + 8]
sub ecx, edx
cmp ecx, 8
jne case.default.0x4069ee
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401f70
call fcn.00403e70
mov edx, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x9c]
sub ecx, edx
add esp, 0x14
cmp eax, ecx
jbe case.default.0x4069ee
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
jbe 0x407141
mov dword [esp + 0x18], edx
mov eax, edx
test eax, eax
je case.default.0x4069ee
xor ebp, ebp
jmp 0x407150
lea ecx, [ebx + 0x64]
call fcn.004094a0
mov edi, dword [eax]
cmp edi, ebp
je 0x407180
mov eax, dword [edi + 8]
cmp eax, ebp
je 0x40716e
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
push edi
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebx + 0x74]
cmp eax, ebp
je 0x4071a4
mov edx, dword [ebx + 0x6c]
inc dword [ebx + 0x70]
add edx, edx
add edx, edx
cmp edx, dword [ebx + 0x70]
ja 0x407199
mov dword [ebx + 0x70], ebp
dec eax
mov dword [ebx + 0x74], eax
cmp eax, ebp
jne 0x4071a4
mov dword [ebx + 0x70], ebp
dec dword [esp + 0x18]
jne 0x407150
jmp 0x40751a
mov ecx, dword [edi + 8]
lea edx, [edi + 4]
cmp ecx, ebp
je case.default.0x4069ee
mov eax, dword [edx + 8]
sub eax, ecx
cmp eax, 8
jne case.default.0x4069ee
push 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401f70
call fcn.00403e70
add esp, 0x14
sub esp, 0x1c
mov dword [esp + 0x38], esp
cmp eax, 2
jne 0x40720e
mov eax, dword [0x452534]
cmp byte [eax + 0x898], 0
mov ecx, esp
je 0x407207
push 0x446d08
jmp 0x40722b
push 0x446cb8
jmp 0x40722b
mov ecx, dword [0x452534]
cmp byte [ecx + 0x898], 0
mov ecx, esp
je 0x407226
push 0x446c78
jmp 0x40722b
push 0x446c44
call dword [sym.imp.MSVCP80.DLL_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, ebx
call fcn.004061b0
mov ecx, dword [ebx + 0x30]
call fcn.00408d30
mov ecx, dword [ebx + 0x30]
call fcn.00408e30
jmp case.default.0x4069ee
mov ecx, dword [ebx + 0x38]
cmp ecx, ebp
je case.default.0x4069ee
push edi
call fcn.0040ab20
test al, al
jne 0x407542
jmp case.default.0x4069ee
mov ecx, dword [edi + 8]
cmp ecx, ebp
je case.default.0x4069ee
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 4
jne case.default.0x4069ee
mov byte [ebx + 0xb2], 1
jmp case.default.0x4069ee
cmp byte [ebx + 0xb3], 0
je case.default.0x4069ee
mov edx, dword [0x452534]
cmp byte [edx + 0x899], 0
jne case.default.0x4069ee
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
cmp eax, ebp
je case.default.0x4069ee
mov esi, dword [ecx + 8]
sub esi, eax
lea eax, [esi - 0xf]
cmp eax, 0x44
ja case.default.0x4069ee
lea edx, [esi - 4]
push edx
push 4
call fcn.00401150
push eax
push 0x4524e0
call dword [sym.imp.MSVCR80.DLL_strncpy]
add esp, 0xc
mov byte [esi + 0x4524dc], 0
xor eax, eax
mov edx, dword [0x452534]
xor cl, cl
lea edx, [eax + edx + 0x1a]
xchg byte [edx], cl
add eax, 0xb6
cmp eax, 0x888
jl 0x4072f2
mov ecx, dword [0x452534]
mov al, 1
add ecx, 0x899
xchg byte [ecx], al
jmp case.default.0x4069ee
cmp byte [ebx + 0xb3], 0
je case.default.0x4069ee
mov edx, dword [0x452534]
cmp byte [edx + 0x899], 0
je case.default.0x4069ee
mov ecx, dword [edi + 8]
lea esi, [edi + 4]
cmp ecx, ebp
je case.default.0x4069ee
mov eax, dword [esi + 8]
sub eax, ecx
add eax, 0xffffffdd
cmp eax, 0xd
ja case.default.0x4069ee
push 4
mov ecx, esi
call fcn.00401150
mov eax, dword [eax]
push 8
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00401150
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
push 0xc
mov ecx, esi
call fcn.00401150
mov edx, dword [eax]
push 0x10
mov ecx, esi
mov dword [esp + 0x38], edx
call fcn.00401150
mov eax, dword [eax]
push 0x14
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00401150
mov edi, dword [eax]
push 0x17
mov ecx, esi
and edi, 0xffffff
call fcn.00401150
mov ebp, dword [eax]
push 0x1a
mov ecx, esi
and ebp, 0xffffff
call fcn.00401150
mov ebx, dword [eax]
push 0x1d
mov ecx, esi
and ebx, 0xffffff
call fcn.00401150
mov cl, byte [eax]
mov byte [esp + 0x17], cl
push 0x1e
mov ecx, esi
call fcn.00401150
mov dl, byte [eax]
push 0x1f
mov ecx, esi
mov byte [esp + 0x2c], dl
call fcn.00401150
mov al, byte [eax]
push 0xf
push 0x20
mov ecx, esi
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0
call fcn.00401150
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCR80.DLL_strncpy]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
add esp, 0xc
push 0xffffffffffffffff
push eax
mov byte [esp + 0x67], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [0x452534]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x50]
push edx
lea ecx, [eax + ecx + 0x1a]
push ecx
call dword [sym.imp.MSVCR80.DLL__stricmp]
add esp, 8
test eax, eax
je 0x407486
mov ecx, dword [0x452534]
mov eax, dword [esp + 0x18]
cmp byte [eax + ecx + 0x1a], 0
jne 0x407470
lea esi, [eax + ecx + 0x10]
inc dword [esp + 0x24]
add eax, 0xb6
mov dword [esp + 0x18], eax
cmp eax, 0x888
jl 0x407440
jmp 0x40749a
mov esi, dword [esp + 0x24]
mov edx, dword [0x452534]
imul esi, esi, 0xb6
lea esi, [esi + edx + 0x10]
test esi, esi
je 0x407508
lea eax, [esp + 0x50]
push eax
push ebx
mov ebx, dword [sym.imp.MSVCR80.DLL__snprintf]
push str.c11_06X_s
push 0x19
push esi
call ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push 0x4524e0
lea edx, [esi + 0x1a]
push 0x7f
push edx
call ebx
lea eax, [esp + 0x58]
push eax
push ebp
push str.c11_06X_s
lea ecx, [esi + 0x9a]
push 0xc
push ecx
call ebx
movzx edx, byte [esp + 0x5b]
add esp, 0x44
push edx
push edi
push str.c11_06X_d__
push 0xe
add esi, 0xa7
push esi
call ebx
add esp, 0x14
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 8]
test eax, eax
je 0x40752e
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
push edi
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebx + 0x60], 0
jne 0x406367
mov ecx, dword [esp + 0x348]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x344
ret