Function at 0x4b6290
Capabilities:
Get hostname

Disassembly:
mov eax, dword [0x841198]
sub esp, 0x24
not eax
and eax, 0x1b6
push ebx
push eax
call fcn.006d39da
mov ecx, dword [0x8253dc]
xor ebx, ebx
mov dword [ecx], ebx
mov dword [0x8253cc], 1
mov dword [0x8253d0], ebx
mov byte [0x8253d8], bl
call fcn.006d2a20
push ebx
mov dword [0x9742a4], 0xffffffff
call fcn.006d15df
add esp, 8
mov dword [0x973be4], eax
mov dword [0x974344], eax
call fcn.004b0ec0
test eax, eax
je 0x4b62fb
mov eax, 1
pop ebx
add esp, 0x24
ret
push esi
call fcn.004b4210
lea edx, [esp + 8]
push edx
push 0x974344
call fcn.005e25d0
mov esi, dword [esp + 0x30]
xor eax, eax
cmp esi, ebx
setne al
push 0x1d
mov ecx, dword [eax*4 + 0x93f070]
push ecx
push 0x974b30
call fcn.0062b670
mov edx, dword [0x839f38]
add esp, 0x14
mov ecx, 0x81d868
mov dword [0x9731cc], edx
call fcn.004053a8
mov ecx, 0x81def0
call fcn.004053a8
mov ecx, 0x81e578
call fcn.004053a8
push 0x200
push 0x972e58
call sub.WSOCK32.dll_gethostname
test eax, eax
jge 0x4b63a5
push 9
push str.localhost
push 0x972e58
call fcn.0062b670
push 0x972e58
push str.gethostname_failed__using__s_as_hostname
call fcn.00409269
push 5
push str.mysql
push 0x9736f8
call fcn.0062b670
add esp, 0x20
jmp 0x4b63bc
push 0x1fb
push 0x972e58
push 0x9736f8
call fcn.0062b670
add esp, 0xc
push str..pid
push 0x9736f8
call fcn.005e2180
add esp, 4
push eax
call fcn.0062b5e0
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.005da470
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
mov dword [0x9732a0], eax
call fcn.004b5c20
add esp, 0x20
call fcn.004b16b0
mov eax, dword [0x9730a4]
mov edx, dword [0x974a08]
lea esi, [eax + edx*2 + 0xa]
lea eax, [eax + eax*4]
cmp esi, eax
mov ecx, esi
ja 0x4b6423
mov ecx, eax
mov edx, dword [0x973b74]
cmp ecx, edx
jbe 0x4b6435
cmp esi, eax
jbe 0x4b6437
mov eax, esi
jmp 0x4b6437
mov eax, edx
push edi
push eax
call fcn.005e8f30
mov edi, eax
add esp, 4
cmp edi, esi
jae 0x4b64cd
cmp dword [0x973b74], ebx
jne 0x4b64b6
mov esi, dword [0x9730a4]
lea eax, [edi - 0x8a]
cmp eax, esi
jae 0x4b646b
mov esi, eax
mov dword [0x9730a4], esi
mov eax, edi
sub eax, esi
sub eax, 0xa
shr eax, 1
cmp eax, 0x40
mov edx, eax
ja 0x4b6480
mov edx, 0x40
mov ecx, dword [0x974a08]
cmp edx, ecx
jae 0x4b649c
cmp eax, 0x40
mov ecx, eax
ja 0x4b6496
mov ecx, 0x40
mov dword [0x974a08], ecx
cmp dword [0x97319c], ebx
je 0x4b64cd
push ecx
push esi
push edi
push str.Changed_limits:_max_open_files:__u__max_connections:__ld__table_cache:__ld
call fcn.00409269
add esp, 0x10
jmp 0x4b64cd
cmp dword [0x97319c], ebx
je 0x4b64cd
push esi
push edi
push str.Could_not_increase_number_of_max_open_files_to_more_than__u__request:__u_
call fcn.00409269
add esp, 0xc
mov eax, dword [0x974b00]
push eax
mov dword [0x973b74], edi
call fcn.0040859e
add esp, 4
call fcn.00406e1a
test eax, eax
pop edi
jne 0x4b659b
call fcn.00405d80
call fcn.00409b97
call fcn.00403a2b
call fcn.0040b8a2
push 0x843bd8
mov byte [0x977878], bl
call fcn.00645260
mov esi, dword [0x974a68]
add esp, 4
lea esp, [esp]
push 0x2c
push esi
call fcn.006cf420
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b6534
mov byte [esi], bl
inc esi
mov ecx, dword [0x974a68]
push 0x10
push 0x20
push ecx
call fcn.005db4e0
add esp, 0xc
cmp eax, ebx
mov dword [0x8410fc], eax
jne 0x4b6562
cmp esi, ebx
je 0x4b659b
mov dword [0x974a68], esi
mov dword [0x973f18], ebx
jmp 0x4b6520
mov ecx, dword [0x973f18]
cmp ecx, ebx
je 0x4b65f0
push ebx
push ecx
call fcn.005db440
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4b65a6
mov edx, dword [0x973f18]
mov eax, dword [0x974690]
mov ecx, dword [eax + 0x444]
push edx
push ecx
call fcn.004058b2
add esp, 8
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret
mov edx, dword [0x8410fc]
push esi
push edx
call fcn.005da9a0
add esp, 8
test al, al
jne 0x4b65e9
mov eax, dword [0x8410fc]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x973f18]
mov eax, dword [0x974690]
push ecx
mov ecx, dword [eax + 0x3f4]
push edx
push ecx
call fcn.004058b2
add esp, 0xc
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret
mov eax, esi
mov dword [0x8410fc], eax
mov edx, dword [0x9734d0]
push 0x10
push 0x20
push edx
mov dword [0x9731bc], eax
mov dword [0x9731c0], eax
mov dword [0x9731b8], eax
mov dword [0x9731b4], eax
mov dword [0x9731c4], eax
call fcn.005db4e0
add esp, 0xc
cmp eax, ebx
mov dword [0x974608], eax
je 0x4b659b
mov dword [0x9731b0], eax
mov eax, dword [0x97463c]
push eax
call fcn.004035c1
add esp, 4
cmp eax, ebx
mov dword [0x973bc0], eax
jne 0x4b6664
mov ecx, dword [0x97463c]
push ecx
push str.Unknown_locale:__s
call fcn.004058b2
add esp, 8
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret
mov dword [0x9731c8], eax
mov eax, dword [0x9736d8]
cmp eax, ebx
mov dword [0x8272f0], ebx
mov dword [0x8272ec], eax
je 0x4b6690
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b6680
sub eax, edx
mov dword [0x8272f0], eax
jmp 0x4b66a3
push ebx
push 0x73a01c
call fcn.005d8c40
add esp, 8
mov dword [0x8272ec], eax
mov eax, dword [0x974590]
cmp eax, ebx
mov dword [0x82731c], ebx
mov dword [0x827318], eax
je 0x4b66d0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b66c0
sub eax, edx
mov dword [0x82731c], eax
jmp 0x4b66e3
push ebx
push 0x73a01c
call fcn.005d8c40
add esp, 8
mov dword [0x827318], eax
cmp byte [0x9732a8], bl
je 0x4b6708
push 1
push 0x400
push ebx
push 0x973ee8
call fcn.005e87a0
add esp, 0x10
test al, al
jne 0x4b659b
call fcn.0040bf4b
test eax, eax
jne 0x4b659b
mov esi, 0x974718
call fcn.004b1c10
mov ecx, dword [0x974594]
cmp ecx, ebx
mov byte [0x974bbd], al
jne 0x4b6792
cmp al, 1
jne 0x4b67dd
cmp dword [0x974b8c], ebx
mov eax, dword [0x97319c]
je 0x4b675e
cmp eax, ebx
je 0x4b67cb
push esi
push str.You_have_forced_lower_case_table_names_to_0_through_a_command_line_option__even_though_your_file_system__s_is_case_insensitive.__This_means_that_you_can_corrupt_a_MyISAM_table_by_accessing_it_with_different_cases._You_should_consider_changing_lower_case_table_names_to_1_or_2
call fcn.00409269
add esp, 8
jmp 0x4b67f3
cmp eax, ebx
je 0x4b6774
push 0x974718
push str.Setting_lower_case_table_names2_because_file_system_for__s_is_case_insensitive
call fcn.00409269
add esp, 8
mov edx, dword [0x97491c]
pop esi
mov dword [0x974594], 2
mov dword [0x973ee0], edx
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp ecx, 2
jne 0x4b67dd
mov esi, 0x974718
call fcn.004b1c10
dec eax
neg eax
sbb al, al
inc al
mov byte [0x974bbd], al
jne 0x4b67dd
cmp dword [0x97319c], ebx
je 0x4b67c5
push esi
push str.lower_case_table_names_was_set_to_2__even_though_your_the_file_system__s_is_case_sensitive.__Now_setting_lower_case_table_names_to_0_to_avoid_future_problems.
call fcn.00409269
add esp, 8
mov dword [0x974594], ebx
pop esi
mov dword [0x973ee0], 0x844320
xor eax, eax
pop ebx
add esp, 0x24
ret
mov esi, 0x974718
call fcn.004b1c10
dec eax
neg eax
sbb al, al
inc al
mov byte [0x974bbd], al
cmp dword [0x974594], ebx
je 0x4b67cb
mov edx, dword [0x97491c]
pop esi
mov dword [0x973ee0], edx
xor eax, eax
pop ebx
add esp, 0x24
ret