Function at 0x429f30
Capabilities:
Get hostname
Resolve dns
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
push eax
push 0x4e9a30
push str.ab:C:h:::T::_l::L:O:P:sS::t:u:noVvWI_
push edi
xor ebx, ebx
push esi
mov dword [esp + 0x24], ebx
mov byte [0x51fd89], 1
call fcn.00488850
add esp, 0x14
cmp eax, 0xffffffff
je 0x42aa19
lea ecx, [eax - 0x23]
cmp ecx, 0x139
ja case.0x429f8e.118
xor edx, edx
mov dl, byte [ecx + 0x42adc0]
jmp dword [edx*4 + 0x42ac70]
mov dword [0x511a80], 1
jmp case.0x429f8e.69
mov dword [0x511aa8], 0x3f
mov dword [0x4e99f0], 3
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
push 0x5117c8
call fcn.00489da6
add esp, 8
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x511114], 1
mov dword [0x5119f0], ecx
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
push edx
push 0x510778
call fcn.00489da6
add esp, 8
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
push 0x5116c0
call fcn.00489da6
add esp, 8
jmp case.0x429f8e.69
or dword [0x4e995c], 4
jmp case.0x429f8e.69
mov dword [0x4e9970], 9
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
push 0x4ea000
push ecx
call fcn.00487d10
add esp, 8
test al, al
je case.0x429f8e.69
call fcn.0042af30
push 1
call fcn.004b544d
mov edx, dword [0x51fd64]
push edx
call fcn.004b6ea0
add esp, 4
mov dword [0x5109e8], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
je 0x42a09e
push eax
call fcn.004b6ea0
add esp, 4
test eax, eax
jne 0x42a09e
mov dword [0x4e9994], ebx
jmp case.0x429f8e.69
mov dword [0x4e9994], 1
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
call fcn.00432330
add esp, 4
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x511aa0], ecx
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
mov dword [0x5109f0], edx
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
mov dword [0x511aa4], eax
jmp case.0x429f8e.69
mov dword [0x511aac], 1
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x5109a8], ecx
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
je 0x42a137
push eax
call fcn.004b6ea0
add esp, 4
mov dword [0x5111d0], eax
mov dword [0x5109b0], 1
jmp case.0x429f8e.69
mov dword [0x5111d0], ebx
mov dword [0x5109b0], 1
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
jne 0x42a164
or dword [0x4e995c], 0x802
jmp case.0x429f8e.69
mov edi, 0x4ec6c0
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42a182
mov byte [0x51f8c0], 1
jmp case.0x429f8e.69
mov edi, 0x4ec6bc
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42aa56
mov dword [0x511140], 1
jmp case.0x429f8e.69
or dword [0x4e996c], 0x200
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
mov dword [0x511a0c], 1
je case.0x429f8e.69
mov dword [str.myisam.log], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
mov dword [0x510ff8], 1
mov dword [0x5119f4], eax
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x5119f8], ecx
jmp case.0x429f8e.69
mov edx, dword [0x511a9c]
push edx
mov dword [0x511580], 1
call fcn.00480080
mov eax, dword [0x51fd64]
add esp, 4
cmp eax, ebx
je case.0x429f8e.69
cmp byte [eax], bl
je case.0x429f8e.69
push ebx
push eax
call fcn.004800e0
add esp, 8
mov dword [0x511a9c], eax
jmp case.0x429f8e.69
mov dword [0x511a14], 1
jmp case.0x429f8e.69
push 0x18
push 0x10
call fcn.0047fff0
add esp, 8
cmp eax, ebx
je 0x42a279
mov ecx, dword [0x51fd64]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x4cb32c
jmp 0x42a27b
xor eax, eax
mov ecx, dword [0x510fb0]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [ecx], 0x510fac
mov edx, dword [0x510fb0]
mov dword [eax + 4], edx
mov dword [0x510fb0], ecx
jmp case.0x429f8e.69
push 0x18
push 0x10
call fcn.0047fff0
add esp, 8
cmp eax, ebx
je 0x42a2c7
mov ecx, dword [0x51fd64]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x4cb32c
jmp 0x42a2c9
xor eax, eax
mov ecx, dword [0x511340]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [ecx], 0x51133c
mov edx, dword [0x511340]
mov dword [eax + 4], edx
mov dword [0x511340], ecx
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push 0x4ec6b8
push eax
mov ebp, eax
call fcn.00489cd3
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42aa7c
movsx eax, byte [esi - 1]
mov edi, esi
dec esi
push eax
call fcn.004b575f
add esp, 4
test eax, eax
je 0x42a33d
cmp esi, dword [0x51fd64]
jbe 0x42a343
mov byte [esi], bl
movsx ecx, byte [esi - 1]
dec esi
push ecx
call fcn.004b575f
add esp, 4
test eax, eax
jne 0x42a321
cmp esi, dword [0x51fd64]
je 0x42aa95
mov byte [edi], bl
mov al, byte [edi + 2]
add edi, 2
cmp al, bl
je 0x42a36d
movsx edx, al
push edx
call fcn.004b575f
add esp, 4
test eax, eax
je 0x42a386
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x42a355
push str.Bad_syntax_in_replicate_rewrite_db___empty_TO_db__n
push 0x50b500
call fcn.004b5540
add esp, 8
push 1
call fcn.004b544d
cmp byte [edi], bl
je 0x42a36d
push 0x18
push 0x14
call fcn.0047fff0
add esp, 8
cmp eax, ebx
je 0x42a3ae
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], edi
mov dword [eax], 0x4cb328
jmp 0x42a3b0
xor eax, eax
mov ecx, dword [0x5111c8]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [ecx], 0x5111c4
mov edx, dword [0x5111c8]
mov dword [eax + 4], edx
mov dword [0x5111c8], ecx
jmp case.0x429f8e.69
push 0x18
push 0x10
call fcn.0047fff0
add esp, 8
cmp eax, ebx
je 0x42a3fc
mov ecx, dword [0x51fd64]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x4cb32c
jmp 0x42a3fe
xor eax, eax
mov ecx, dword [0x510770]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [ecx], 0x51076c
mov edx, dword [0x510770]
mov dword [eax + 4], edx
mov dword [0x510770], ecx
jmp case.0x429f8e.69
push 0x18
push 0x10
call fcn.0047fff0
add esp, 8
cmp eax, ebx
je 0x42a44a
mov ecx, dword [0x51fd64]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x4cb32c
jmp 0x42a44c
xor eax, eax
mov ecx, dword [0x511228]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [ecx], 0x511224
mov edx, dword [0x511228]
mov dword [eax + 4], edx
mov dword [0x511228], ecx
jmp case.0x429f8e.69
cmp dword [0x511eb0], ebx
jne 0x42a48b
push 0x511eb0
push 0x511e70
call fcn.00432430
add esp, 8
mov eax, dword [0x51fd64]
push eax
push 0x511e70
call fcn.00432630
add esp, 8
test eax, eax
jne 0x42aaae
mov dword [0x511ec0], 1
jmp case.0x429f8e.69
cmp dword [0x511eb8], ebx
jne 0x42a4cf
push 0x511eb8
push 0x511e24
call fcn.00432480
add esp, 8
mov ecx, dword [0x51fd64]
push ecx
push 0x511e24
call fcn.004326c0
add esp, 8
test eax, eax
jne 0x42aacd
mov dword [0x511ec0], 1
jmp case.0x429f8e.69
cmp dword [0x511ebc], ebx
jne 0x42a514
push 0x511ebc
push 0x511b14
call fcn.00432480
add esp, 8
mov edx, dword [0x51fd64]
push edx
push 0x511b14
call fcn.004326c0
add esp, 8
test eax, eax
jne 0x42aaed
mov dword [0x511ec0], 1
jmp case.0x429f8e.69
cmp dword [0x511eb4], ebx
jne 0x42a559
push 0x511eb4
push 0x511e38
call fcn.00432430
add esp, 8
mov eax, dword [0x51fd64]
push eax
push 0x511e38
call fcn.00432630
add esp, 8
test eax, eax
jne 0x42ab0d
mov dword [0x511ec0], 1
jmp case.0x429f8e.69
mov dword [0x511a10], 1
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x510fd8], 1
mov dword [0x5119fc], ecx
jmp case.0x429f8e.69
mov dword [0x5119ec], 1
jmp case.0x429f8e.69
mov ecx, dword [0x4e995c]
mov eax, dword [0x511a3c]
or ecx, 2
and eax, 0xffffffef
mov dword [0x4e995c], ecx
mov dword [0x4e9a1c], 7
mov byte [0x51fd89], bl
mov byte [0x509978], bl
mov dword [0x50f0e0], ebx
mov byte [0x51f8c3], 1
mov dword [0x511a3c], eax
jmp case.0x429f8e.69
mov ecx, dword [0x4e995c]
mov eax, dword [0x511a3c]
or ecx, 0x800
and eax, 0xffffffef
mov dword [0x4e995c], ecx
mov byte [0x51fd89], bl
mov dword [0x50f0e0], ebx
mov dword [0x511a3c], eax
jmp case.0x429f8e.69
mov byte [0x509978], bl
jmp case.0x429f8e.69
or dword [0x4e995c], 0x80
jmp case.0x429f8e.69
or dword [0x4e995c], 0x200
jmp case.0x429f8e.69
mov byte [0x51f8c0], bl
jmp case.0x429f8e.69
or dword [0x4e995c], 0x40
jmp case.0x429f8e.69
or dword [0x4e995c], 0x400
jmp case.0x429f8e.69
mov dword [0x511a00], 1
mov dword [0x5109e8], ebx
jmp case.0x429f8e.69
mov eax, dword [0x4e995c]
or eax, 0x1000
mov dword [0x511a08], 1
mov dword [0x4e995c], eax
mov dword [0x5109e8], ebx
jmp case.0x429f8e.69
mov dword [0x511138], 1
jmp case.0x429f8e.69
or dword [0x5111d0], 0x20
jmp case.0x429f8e.69
or dword [0x5111d0], 0x100
jmp case.0x429f8e.69
or dword [0x5111d0], 0x200
jmp case.0x429f8e.69
mov byte [0x51f8c3], 1
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
je 0x42a751
movsx edx, byte [eax]
push edx
call fcn.004b570a
add esp, 4
test eax, eax
mov eax, dword [0x51fd64]
je 0x42a72b
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [0x5106a4], eax
jmp case.0x429f8e.69
cmp eax, ebx
je 0x42a751
cmp byte [eax], bl
je 0x42a751
push 0xff
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostname
test eax, eax
jl 0x42ab2c
lea edx, [esp + 0x14]
push edx
jmp 0x42a752
push eax
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
je 0x42ab40
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [0x5106a4], edx
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
push 0x511358
call fcn.00489da6
add esp, 8
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [0x510fb8], ecx
jmp case.0x429f8e.69
mov dword [0x5119e0], 1
jmp case.0x429f8e.69
mov byte [0x51fd88], 1
mov byte [0x5173f4], 1
mov dword [0x511568], ebx
jmp case.0x429f8e.69
or dword [0x4e996c], 0x2000
mov dword [0x4f63e8], 9
mov dword [0x510c9c], 1
jmp case.0x429f8e.69
mov eax, 1
mov dword [0x511a04], eax
mov dword [0x511140], eax
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
push 2
push 0x4e89ac
push edx
call fcn.00488710
add esp, 0xc
cmp eax, ebx
jle 0x42ab54
mov dword [0x4e9a1c], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
call fcn.004b6ea0
add esp, 4
mov dword [0x511a2c], eax
mov dword [0x511a30], 1
jmp case.0x429f8e.69
or dword [0x511a3c], 8
mov byte [0x51fd89], 1
jmp case.0x429f8e.69
mov byte [0x51fd89], bl
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
push ecx
push 0x5115a8
call fcn.00489da6
add esp, 8
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
push edx
push 0x510cb0
call fcn.00489da6
add esp, 8
mov dword [0x51fd44], 0x510cb0
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push 2
push 0x4e89e8
push eax
call fcn.00488710
add esp, 0xc
cmp eax, ebx
jle 0x42ab74
dec eax
mov dword [0x4e99f0], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
cmp eax, ebx
jne 0x42a8f8
mov eax, dword [0x511a3c]
mov ecx, dword [0x4e860c]
mov dword [0x50f0e0], 1
mov edx, dword [ecx]
or eax, 0x10
mov dword [0x4e99e8], edx
mov dword [0x511a3c], eax
jmp case.0x429f8e.69
push 0x4e8604
push eax
mov dword [0x4e99e8], eax
call fcn.0042b2f0
add esp, 8
cmp eax, 0xffffffff
mov dword [0x50f0e0], eax
je 0x42ab94
or dword [0x511a3c], 0x10
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push 0x4e9a10
push eax
mov dword [0x4e99ec], eax
call fcn.0042b2f0
add esp, 8
cmp eax, 0xffffffff
mov dword [0x511aa8], eax
je 0x42abb3
and eax, 0x10
or eax, 8
shr eax, 3
mov dword [0x4e99f0], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
mov dword [0x511a70], eax
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
mov dword [str.test], ecx
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
mov dword [0x511a6c], edx
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
mov dword [str.master.info], eax
jmp case.0x429f8e.69
mov ecx, dword [0x51fd64]
push ecx
call fcn.004b6ea0
add esp, 4
mov dword [0x4e998c], eax
jmp case.0x429f8e.69
mov edx, dword [0x51fd64]
push edx
call fcn.004b6ea0
add esp, 4
mov dword [0x4e9990], eax
jmp case.0x429f8e.69
mov eax, dword [0x51fd64]
push eax
call fcn.004b6ea0
add esp, 4
mov dword [0x511a74], eax
jmp case.0x429f8e.69
mov dword [0x511a18], 1
jmp case.0x429f8e.69
mov dword [0x511a1c], 1
mov edi, dword [esp + 0x11c]
mov esi, dword [esp + 0x118]
lea ecx, [esp + 0x10]
push ecx
push 0x4e9a30
push str.ab:C:h:::T::_l::L:O:P:sS::t:u:noVvWI_
push edi
push esi
call fcn.00488850
add esp, 0x14
cmp eax, 0xffffffff
jne 0x429f77
mov eax, dword [0x4f69e4]
cmp esi, eax
je 0x42ac22
mov ecx, dword [edi + eax*4]
cmp byte [ecx], bl
jne 0x42abf9
inc eax
cmp esi, eax
mov dword [0x4f69e4], eax
jne 0x42aa26
jmp 0x42ac22
call fcn.0042af00
push ebx
call fcn.004b544d
call fcn.0042af50
push ebx
call fcn.004b544d
mov edx, dword [0x517424]
push eax
push edx
push str._s:_Unrecognized_option:__s_n
push 0x50b500
call fcn.004b5540
add esp, 0x10
call fcn.0042af30
push 1
call fcn.004b544d
push str.Bad_syntax_in_replicate_rewrite_db___missing_____n
push 0x50b500
call fcn.004b5540
add esp, 8
push 1
call fcn.004b544d
push str.Bad_syntax_in_replicate_rewrite_db___empty_FROM_db__n
push 0x50b500
call fcn.004b5540
add esp, 8
push 1
call fcn.004b544d
mov eax, dword [0x51fd64]
push eax
push str.Could_not_add_do_table_rule__s__n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov ecx, dword [0x51fd64]
push ecx
push str.Could_not_add_do_table_rule__s__n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov edx, dword [0x51fd64]
push edx
push str.Could_not_add_ignore_table_rule__s__n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov eax, dword [0x51fd64]
push eax
push str.Could_not_add_ignore_table_rule__s__n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
push str.Cant_start_server:_cannot_get_my_own_hostname_
call fcn.00424890
add esp, 4
push 1
call fcn.004b544d
push str.Cant_start_server:_cannot_resolve_hostname_
call fcn.00424890
add esp, 4
push 1
call fcn.004b544d
mov ecx, dword [0x51fd64]
push ecx
push str.Unknown_table_type:__s_n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov edx, dword [0x51fd64]
push edx
push str.Unknown_transaction_isolation_type:__s_n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov eax, dword [0x51fd64]
push eax
push str.Unknown_option_to_myisam_recover:__s_n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov ecx, dword [0x51fd64]
push ecx
push str.Unknown_option_to_sql_mode:__s_n
push 0x50b500
call fcn.004b5540
add esp, 0xc
push 1
call fcn.004b544d
mov edx, dword [0x517424]
push eax
push edx
push str._s:_Unrecognized_option:__c_n
push 0x50b500
call fcn.004b5540
add esp, 0x10
call fcn.0042af30
push 1
call fcn.004b544d
cmp esi, eax
je 0x42ac22
mov edx, dword [0x517424]
push edx
push str._s:_Too_many_parameters_n
push 0x50b500
call fcn.004b5540
add esp, 0xc
call fcn.0042af30
push 1
call fcn.004b544d
call fcn.0042b180
mov eax, dword [0x4e9a1c]
mov ecx, dword [0x4e89b4]
mov edx, dword [ecx + eax*4 - 4]
mov eax, dword [0x4e99f0]
mov ecx, dword [0x4e89f0]
mov dword [0x510744], edx
mov edx, dword [ecx + eax*4]
cmp dword [0x5109e4], ebx
mov dword [0x5109e0], edx
jne 0x42ac62
mov eax, dword [0x4f5e7c]
mov dword [0x5109e4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret