Function at 0x40584c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x31c
mov dword [esp], 0x4082cc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
lea eax, [esp + 0x180]
mov dword [esp], 0x202
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
push ebx
mov ebp, eax
push ebx
je 0x405899
mov dword [esp + 4], eax
mov dword [esp], str.Fatal:_Could_not_initialize_Windows_sockets__Error:__d_._n
call fcn.00406654
jmp 0x406612
mov byte [0x4082f0], 1
mov dword [0x408030], 0
mov eax, dword [0x4082b8]
mov dword [esp + 8], str.N:B:m:t:w:0:3:H:A:R:u:g:L:p:i:P:l:r:U:W:C:SsfeDd46VvIdqkZ
mov dword [esp + 4], eax
mov eax, dword [0x4082b4]
mov dword [esp], eax
call fcn.00403340
test eax, eax
jle 0x405ba7
lea edx, [eax - 0x30]
cmp edx, 0x47
ja case.0x4058dc.49
jmp dword [edx*4 + 0x409fa4]
mov eax, dword [0x40e040]
mov dword [0x40810c], 0x409c78
mov dword [0x408104], eax
jmp 0x4058aa
mov eax, dword [0x40e040]
mov dword [0x408118], 0x409c78
mov dword [0x408110], eax
jmp 0x4058aa
mov eax, dword [0x40e040]
mov dword [0x408124], 0x409c78
mov dword [0x40811c], eax
jmp 0x4058aa
mov eax, 8
call fcn.00407720
mov edx, dword [0x40e040]
mov ebx, eax
mov ecx, 8
call fcn.00405680
mov dword [0x408108], ebx
mov dword [0x408114], ebx
mov dword [0x408120], ebx
jmp 0x4058aa
mov ecx, 0x7fffffff
mov edx, 1
mov eax, 0x6d
call fcn.00405478
mov dword [0x40812c], eax
mov eax, 4
jmp 0x405b70
mov ecx, 0x258
mov edx, 1
mov eax, 0x74
call fcn.00405478
mov dword [0x408148], eax
mov eax, 5
jmp 0x405b70
mov eax, dword [0x40e040]
mov dword [0x408290], eax
mov eax, 6
jmp 0x405b70
mov eax, dword [0x40e040]
mov dword [esp + 4], 0x4096e0
mov dword [esp], eax
mov dword [0x408288], eax
call fcn.004038d0
test eax, eax
jne 0x4058aa
mov dword [0x408288], 0
jmp 0x4058aa
mov eax, dword [0x40e040]
mov dword [0x40828c], eax
mov eax, 7
jmp 0x405b70
cmp eax, 0x76
mov eax, 8
sete byte [0x4082e8]
jmp 0x405b70
inc byte [0x4082ec]
mov eax, 3
jmp 0x405b70
mov byte [0x4082f0], 1
jmp case.0x4058dc.101
mov eax, dword [0x40e040]
mov dword [0x408154], eax
jmp 0x4058aa
mov eax, dword [0x40e040]
mov dword [0x40814c], eax
jmp 0x4058aa
cmp byte [0x408100], 0
jne 0x4058aa
mov byte [0x4082c8], 1
jmp 0x4058aa
cmp byte [0x408100], 0
jne 0x4058aa
mov byte [0x4082c8], 2
jmp 0x4058aa
mov byte [0x4082f0], 1
jmp 0x4058aa
mov byte [0x4082e4], 1
jmp 0x4058aa
mov ecx, 2
xor edx, edx
mov eax, 0x72
call fcn.00405478
mov byte [0x408140], al
mov eax, 1
jmp 0x405b70
mov ecx, 0x7fff
xor edx, edx
mov eax, 0x43
call fcn.00405478
mov word [0x408128], ax
mov eax, 2
jmp 0x405b70
mov eax, dword [0x40e040]
call fcn.00407444
test eax, eax
jne 0x405ae5
mov dword [esp + 4], 0x52
jmp 0x405b07
mov dword [0x408168], eax
mov eax, 0xa
jmp 0x405b70
mov eax, dword [0x40e040]
call fcn.00407444
test eax, eax
jne 0x405b1f
mov dword [esp + 4], 0x41
mov dword [esp], str.Fatal:_No_valid_time_span_specified_in_option___c._n
call fcn.00406654
mov dword [esp], 1
call fcn.004039a0
mov dword [0x408164], eax
mov eax, 9
jmp 0x405b70
cmp eax, 0x64
mov eax, 0xb
sete byte [0x408040]
jmp 0x405b70
mov edx, dword [0x40e040]
mov eax, 0x408160
call fcn.00405298
test eax, eax
je case.0x4058dc.49
mov eax, 0xf
jmp 0x405b70
mov edx, dword [0x40e040]
mov eax, 0x40815c
call fcn.00405298
test eax, eax
je case.0x4058dc.49
mov eax, 0x10
call fcn.00405700
jmp 0x4058aa
cmp byte [0x408100], 0
jne 0x4058aa
mov dword [esp + 4], str.svn812__built_2015_08_30_00:39:03_UTC
mov dword [esp], str.vlmcsd__s_n
call fcn.00403910
mov dword [esp], 0
jmp 0x405b1a
mov eax, dword [0x4082b4]
cmp dword [0x40802c], eax
je 0x405bb9
call fcn.00407614
cmp dword [0x408154], 0
jne 0x405bcc
mov eax, dword [0x40814c]
cmp byte [eax], 0
je 0x405bd5
cmp byte [0x4082c8], 1
jne case.0x4058dc.49
cmp dword [0x408288], 0
je 0x405c15
mov eax, 1
call fcn.004066c8
test eax, eax
jne 0x405c15
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004038c0
mov dword [esp + 8], eax
mov eax, dword [0x408288]
mov dword [esp], str.Warning:_Cant_read__s:__s_n
mov dword [esp + 4], eax
call fcn.00406654
mov eax, dword [0x40812c]
cmp eax, 0x7ffffffe
ja 0x405c6f
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
sub esp, 0x10
test eax, eax
mov dword [0x408144], eax
jne 0x405c6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00407868
mov dword [esp], str.Warning:_Could_not_create_semaphore:__s_n
mov dword [esp + 4], eax
call fcn.00406654
mov dword [0x40812c], 0x7fffffff
mov al, byte [0x4082c8]
test al, al
je 0x406099
xor ebp, ebp
cmp byte [0x408100], 0
mov esi, dword [0x40814c]
mov ebx, dword [0x408154]
jne 0x406612
cmp al, 1
jne 0x40603d
lea edi, [esp + 0x80]
mov eax, ebp
mov ecx, 0x40
mov dword [esp + 0x7c], 0x22
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7d]
mov dword [esp + 8], 0x103
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
sub esp, 0xc
test eax, eax
jne 0x405cf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.Cannot_install_service___d__n
mov dword [esp + 4], eax
jmp 0x405e0e
lea eax, [esp + 0x7c]
mov dword [esp + 4], 0x409d60
lea ebp, [esp + 0x7c]
mov dword [esp], eax
call fcn.004038e0
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
cmp eax, dword [0x4082b4]
jge 0x405dec
mov eax, dword [0x4082b8]
mov ecx, dword [esp + 0x48]
lea edi, [eax + ecx*4]
mov edx, dword [edi]
mov dword [esp + 4], 0x409d62
mov dword [esp], edx
mov dword [esp + 0x4c], edx
call fcn.004038d0
test eax, eax
mov edx, dword [esp + 0x4c]
je 0x405de3
mov dword [esp], edx
mov dword [esp + 4], 0x409d65
call fcn.004038d0
test eax, eax
mov edx, dword [esp + 0x4c]
je 0x405d7b
mov dword [esp + 4], 0x409d68
mov dword [esp], edx
call fcn.004038d0
test eax, eax
jne 0x405d81
inc dword [esp + 0x48]
jmp 0x405de3
mov dword [esp + 4], 0x409d6b
mov dword [esp], ebp
call fcn.004038e0
mov edx, dword [edi]
mov dword [esp + 4], 0x20
mov dword [esp], edx
mov dword [esp + 0x4c], edx
call fcn.004038d8
test eax, eax
mov edx, dword [esp + 0x4c]
je 0x405dd7
mov dword [esp + 4], 0x409d60
mov dword [esp], ebp
call fcn.004038e0
mov eax, dword [edi]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.004038e0
mov dword [esp + 4], 0x409d60
jmp 0x405ddb
mov dword [esp + 4], edx
mov dword [esp], ebp
call fcn.004038e0
inc dword [esp + 0x48]
jmp 0x405d11
lea edx, [esp + 0x58]
lea eax, [esp + 0x5c]
call fcn.0040497c
test al, al
jne 0x405e18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.Service_removal_failed___d__n
mov dword [esp + 4], eax
call fcn.00404fac
jmp 0x406036
xor ebp, ebp
test ebx, ebx
je 0x405e99
mov dword [esp], ebx
mov edi, dword [sym.imp.msvcrt.dll__stricmp]
mov dword [esp + 4], 0x409d8a
call edi
test eax, eax
mov eax, str.NT_AUTHORITYLocalService
mov dword [esp + 4], 0x409d8d
cmove ebx, eax
mov dword [esp], ebx
call edi
test eax, eax
mov eax, str.NT_AUTHORITYNetworkService
mov dword [esp + 4], 0x5c
cmove ebx, eax
mov dword [esp], ebx
call fcn.004038d8
test eax, eax
jne 0x405e99
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
add eax, 2
call fcn.00407720
mov dword [esp + 4], 0x409d90
mov ebp, eax
mov dword [esp], eax
call fcn.004038c8
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov ebx, ebp
call fcn.004038e0
lea eax, [esp + 0x7c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], str.tcpip
mov dword [esp + 0x24], 0
mov edi, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 0xf01ff
mov dword [esp + 8], str.Key_Management_Server
mov dword [esp + 4], str.vlmcsd
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
or ecx, 0xffffffff
mov ebx, eax
xor eax, eax
repne scasb al, byte es:[edi]
sub esp, 0x34
not ecx
lea eax, [esi + ecx - 1]
cmp esi, eax
je 0x405f1c
mov byte [esi], 0
inc esi
jmp 0x405f12
test ebp, ebp
je 0x405f28
mov dword [esp], ebp
call fcn.00403958
test ebx, ebx
jne 0x405f54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.CreateService_failed___u__n
mov dword [esp + 4], eax
call fcn.00404fac
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x406035
mov dword [esp], str.Service_installed_successfully_n
call fcn.00404fac
cmp dword [esp + 0x5c], 4
jne 0x406020
mov dword [esp], str.Restarting_vlmcsd_service__
call fcn.00403910
mov dword [esp + 0x64], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
sub esp, 0xc
test eax, eax
je 0x40600a
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edi, [esp + 0x60]
mov esi, 0xa
mov dword [esp + 4], edi
mov dword [esp], ebx
call ebp
test eax, eax
push edx
push edx
jne 0x405fcf
mov eax, dword [esp + 0x64]
cmp eax, 4
jne 0x405fe9
mov dword [esp], str.Success
jmp 0x405ff5
cmp dword [esp + 0x64], 2
jne 0x405fbd
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
push eax
jne 0x405fae
jmp 0x405fbd
cmp eax, 2
jne 0x405ffc
mov dword [esp], str.Not_ready_within_a_second
call fcn.00403908
jmp 0x406020
mov dword [esp], str.Error_n
call fcn.00404fac
jmp 0x406020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.Error__u_n
mov dword [esp + 4], eax
call fcn.00404fac
mov dword [esp], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call ebx
push eax
xor ebp, ebp
jmp 0x406612
cmp al, 2
jne 0x406612
xor edx, edx
xor eax, eax
call fcn.0040497c
test al, al
je 0x40606f
dec al
jne 0x406080
mov dword [esp + 4], str.vlmcsd
mov dword [esp], str.Service__s_removed_successfully_n
call fcn.00403910
jmp 0x406612
mov dword [esp + 4], str.vlmcsd
mov dword [esp], str.Error_removing_service__s_n
jmp 0x40608f
mov dword [esp + 4], str.vlmcsd
mov dword [esp], str.Service__s_does_not_exist._n
call fcn.00404fac
jmp 0x406288
movzx eax, byte [0x4082ec]
mov edx, 2
test al, al
cmove eax, edx
shl eax, 2
call fcn.00407720
mov ebx, dword [sym.imp.WS2_32.dll_socket]
mov dword [0x408158], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call ebx
sub esp, 0xc
mov edi, eax
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp], eax
call esi
push ebp
inc edi
setne byte [0x4082c0]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0x17
call ebx
sub esp, 0xc
mov ebx, eax
mov dword [esp], eax
call esi
inc ebx
push eax
mov dword [0x40802c], 1
setne byte [0x4082c4]
mov dword [0x408030], 0
mov eax, dword [0x4082b8]
mov dword [esp + 8], str.N:B:m:t:w:0:3:H:A:R:u:g:L:p:i:P:l:r:U:W:C:SsfeDd46VvIdqkZ
mov dword [esp + 4], eax
mov eax, dword [0x4082b4]
mov dword [esp], eax
call fcn.00403340
test eax, eax
jle 0x4061ce
cmp eax, 0x36
je 0x406191
jg 0x40615f
cmp eax, 0x34
je 0x406175
jmp 0x40612f
cmp eax, 0x4c
je 0x4061bf
cmp eax, 0x50
jne 0x40612f
mov eax, dword [0x40e040]
mov dword [str.1688], eax
jmp 0x40612f
cmp byte [0x4082c0], 0
jne 0x406188
mov dword [esp + 4], str.IPv4
jmp 0x4061a2
mov byte [0x4082f8], 1
jmp 0x40612f
cmp byte [0x4082c4], 0
jne 0x4061b3
mov dword [esp + 4], str.IPv6
mov dword [esp], str.Fatal:_Your_system_does_not_support__s._n
call fcn.00406654
jmp 0x406288
mov byte [0x4082fc], 1
jmp 0x40612f
mov eax, dword [0x40e040]
call fcn.00404cd8
jmp 0x40612f
cmp byte [0x4082ec], 0
je 0x406220
cmp dword [0x4082f4], 0
jne 0x406220
cmp dword [0x408288], 0
je 0x406220
mov eax, 2
call fcn.004066c8
test eax, eax
jne 0x406220
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004038c0
mov dword [esp + 8], eax
mov eax, dword [0x408288]
mov dword [esp], str.Warning:_Cant_read__s:__s_n
mov dword [esp + 4], eax
call fcn.00406654
cmp byte [0x4082ec], 0
jne 0x406273
cmp byte [0x4082c4], 0
je 0x40624e
cmp byte [0x4082fc], 0
jne 0x406244
cmp byte [0x4082f8], 0
jne 0x40624e
mov eax, 0x409ebd
call fcn.00404cd8
cmp byte [0x4082c0], 0
je 0x406273
cmp byte [0x4082f8], 0
jne 0x406269
cmp byte [0x4082fc], 0
jne 0x406273
mov eax, str.0.0.0.0
call fcn.00404cd8
cmp dword [0x4082f4], 0
jne 0x406292
mov dword [esp], str.Fatal:_Could_not_listen_on_any_socket._n
call fcn.00406654
mov ebp, 1
jmp 0x406612
call fcn.0040669c
cmp byte [0x408140], 1
jne 0x406327
call fcn.00405524
mov dword [esp + 0x48], eax
movsx eax, word [0x408128]
test ax, ax
jne 0x4062cf
call fcn.00403900
mov ecx, 0x9e
xor edx, edx
div ecx
movsx eax, word [edx + edx + 0x40c240]
lea ebp, [esp + 0x7c]
mov ebx, 0x408104
xor esi, esi
mov dword [esp + 0x4c], eax
cmp dword [ebx], 0
jne 0x40631e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, ebp
mov edi, ebp
mov dword [esp], eax
mov eax, esi
call fcn.00404fec
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
call fcn.00407720
mov dword [ebx], eax
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.004038c8
mov dword [ebx + 8], str.randomized_at_program_start
inc esi
add ebx, 0xc
cmp esi, 3
jne 0x4062de
cmp byte [0x408100], 0
jne 0x406361
mov dword [esp + 4], 1
mov dword [esp], 0x407414
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
push ecx
push ecx
jne 0x406361
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.Warning:_Could_not_register_Windows_signal_handler:_Error__u_n
mov dword [esp + 4], eax
call fcn.00405834
mov eax, dword [0x408290]
test eax, eax
je 0x4063cc
mov dword [esp + 4], 0x409f4a
mov dword [esp], eax
call fcn.00403978
test eax, eax
mov ebx, eax
je 0x4063a3
call fcn.00403a00
mov dword [esp + 4], 0x409f4c
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00403970
mov dword [esp], ebx
call fcn.00403998
jmp 0x4063cc
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004038c0
mov dword [esp + 8], eax
mov eax, dword [0x408290]
mov dword [esp], str.Warning:_Cannot_write_pid_file__s.__s._n
mov dword [esp + 4], eax
call fcn.00405834
mov dword [esp + 4], str.svn812__built_2015_08_30_00:39:03_UTC
mov dword [esp], str.vlmcsd__s_started_successfully_n
call fcn.00405834
cmp byte [0x408100], 0
je 0x4063fa
mov ecx, 0xc8
xor edx, edx
mov eax, 4
call fcn.00404ac8
call fcn.00403900
mov edi, eax
call fcn.00403900
lea ebx, [eax*4]
shl edi, 0x11
call fcn.00403900
mov esi, ebx
and eax, 3
or esi, edi
mov ebx, eax
or ebx, esi
mov eax, dword [0x4082f4]
mov esi, dword [0x408158]
xor ecx, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x48], eax
xor eax, eax
cmp eax, dword [esp + 0x48]
jge 0x406479
mov ebp, dword [esp + 0x7c]
xor edx, edx
cmp edx, ebp
je 0x40645a
mov edi, dword [esi + eax*4]
cmp dword [esp + edx*4 + 0x80], edi
je 0x40646e
inc edx
jmp 0x406447
cmp edx, 0x3f
ja 0x40646e
mov ebp, dword [esi + eax*4]
mov dword [esp + edx*4 + 0x80], ebp
inc edx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + eax*4]
cmp ecx, edx
cmovb ecx, edx
inc eax
jmp 0x40643b
lea edi, [esp + 0x7c]
inc ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
xor esi, esi
mov dword [esp + 4], edi
mov dword [esp], ecx
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
test eax, eax
js 0x40650a
cmp esi, dword [0x4082f4]
jge 0x40650a
mov eax, dword [0x408158]
mov dword [esp + 4], edi
lea ebp, [esi*4]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
push edx
push edx
je 0x4064e4
mov eax, dword [0x408158]
mov eax, dword [eax + ebp]
cmp eax, 0xffffffff
jne 0x4064e7
jmp 0x40650a
inc esi
jmp 0x4064ac
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_accept]
sub esp, 0xc
cmp eax, 0xffffffff
mov edi, eax
jne 0x406553
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2745
mov esi, eax
je 0x406420
cmp eax, 0x2714
je 0x406420
xor ebp, ebp
cmp byte [0x408150], 0
jne 0x4065f4
call fcn.00407868
mov dword [esp], str.Fatal:__s_n
mov dword [esp + 4], eax
mov ebp, esi
call fcn.00405834
jmp 0x4065f4
mov eax, 8
inc ebx
call fcn.00407720
mov dword [eax], edi
cmp dword [0x40812c], 0x7fffffff
mov esi, eax
mov dword [eax + 4], ebx
je 0x406589
mov eax, dword [0x408144]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x407344
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
test eax, eax
je 0x4065d0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
jmp 0x406420
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
mov dword [esp], esi
call fcn.00403958
call fcn.00406620
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406420
cmp byte [0x408150], 0
jne 0x406604
call fcn.00404f44
jmp 0x406612
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.00404ac8
add esp, 0x31c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret