Function at 0x404600
Capabilities:
Terminate process

Disassembly:
jmp 0x404600
sub esp, 0x3d0
mov eax, dword [0x5f1cf8]
xor eax, esp
mov dword [esp + 0x3cc], eax
mov eax, dword [esp + 0x3d8]
mov dword [esp], eax
mov eax, dword [eax]
mov dword [0x62af30], eax
call fcn.00412320
lea ecx, [esp]
push ecx
lea edx, [esp + 0x3d8]
push edx
push 0x4dc024
push 0x4beef0
call fcn.004077f0
mov eax, dword [esp + 0x10]
mov dword [0x62ae2c], eax
add esp, 0x10
lea eax, [esp]
lea ecx, [esp + 0x3d4]
call fcn.004030b0
test eax, eax
je 0x404681
mov ecx, dword [0x62ae2c]
push ecx
call fcn.00406560
push 0
call fcn.00411f30
add esp, 8
push 1
call fcn.00463a63
cmp byte [0x62aec2], 0
je 0x40469a
push 0
call fcn.0046338c
push eax
call fcn.00463aef
add esp, 8
mov eax, dword [section..data]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4046a2
sub eax, edx
cmp dword [esp + 0x3d4], 2
mov dword [0x62ae30], eax
jle 0x4046f2
mov edx, dword [0x62af30]
push edx
push str._s:_Too_many_arguments_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
mov eax, dword [0x62ae2c]
push eax
call fcn.00406560
push 0
call fcn.00411f30
add esp, 0x14
push 1
call fcn.00463a63
lea ecx, [esp + 4]
push ecx
call fcn.00408d30
cmp byte [0x62aebd], 0
je 0x404713
push 0
push 1
lea edx, [esp + 0xc]
push edx
call fcn.004098b0
cmp byte [0x62ae78], 0
je 0x404747
mov eax, dword [0x62ae88]
mov ecx, dword [0x62ae80]
mov edx, dword [0x62ae7c]
push eax
mov eax, dword [0x62ae84]
push ecx
mov ecx, dword [0x62ae8c]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00408e10
cmp dword [0x62aedc], 0
je 0x404761
push 0x62aedc
push 9
lea eax, [esp + 0xc]
push eax
call fcn.004098b0
mov eax, dword [0x62ae90]
test eax, eax
je 0x404777
push eax
push 0xa
lea ecx, [esp + 0xc]
push ecx
call fcn.004098b0
mov edx, dword [str.latin1]
push edx
push 7
lea eax, [esp + 0xc]
push eax
call fcn.004098b0
cmp byte [0x62aebc], 0
jne 0x40480c
mov ecx, dword [0x4dc010]
mov edx, dword [0x62aeb8]
mov eax, dword [0x62aee0]
push ecx
mov ecx, dword [0x62ae98]
push edx
mov edx, dword [0x62ae9c]
push eax
mov eax, dword [0x62ae94]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040a320
test eax, eax
jne 0x40480c
lea edx, [esp + 4]
push edx
call fcn.00409bc0
push eax
mov eax, dword [0x62af30]
push eax
push str._s:_Error_when_connecting_to_server:__s_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
mov ecx, dword [0x62ae2c]
push ecx
call fcn.00406560
push 0
call fcn.00411f30
add esp, 0x18
push 1
call fcn.00463a63
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 0x62cbe0
call esi
push 0
push 0x62cc60
call fcn.004119f0
add esp, 8
push 0x62cbc0
call esi
push 0
push 0x62cc00
call fcn.004119f0
mov edi, dword [0x62aee4]
add esp, 8
cmp dword [0x62ae5c], 2
jl 0x40485d
push str.Starting_Concurrency_Test_n
call fcn.004633c8
add esp, 4
mov esi, dword [0x62cc40]
cmp dword [esi], 0
je 0x40488c
test esi, esi
je 0x4048a9
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x4048a9
push edi
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401014
add esp, 0xc
add esi, 4
jne 0x404870
jmp 0x4048a9
mov esi, 1
push edi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00401014
mov ecx, esi
add esp, 0xc
add esi, 1
test ecx, ecx
jne 0x404891
cmp byte [0x4dc008], 0
jne 0x4048c5
mov edx, dword [str.mysqlslap]
push edx
lea ebx, [esp + 0x14]
call fcn.00402720
add esp, 4
test edi, edi
je 0x4048d4
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x404847
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x62cbe0
call esi
push 0x62cc60
call fcn.00411a50
add esp, 4
push 0x62cbc0
call esi
push 0x62cc00
call fcn.00411a50
add esp, 4
cmp byte [0x62aebc], 0
pop edi
pop esi
pop ebx
jne 0x404918
lea eax, [esp + 4]
push eax
call fcn.00409da0
mov eax, dword [0x62ae98]
test eax, eax
je 0x40492a
push eax
call fcn.0040b780
add esp, 4
mov ecx, dword [0x62cc40]
push ecx
call fcn.0040b780
mov edx, dword [0x62aef0]
push edx
call fcn.00401019
mov eax, dword [0x62aef4]
push eax
call fcn.00401019
mov ecx, dword [0x62aee8]
push ecx
call fcn.00401019
mov edx, dword [0x62aeec]
push edx
call fcn.00401019
mov eax, dword [0x62aee4]
push eax
call fcn.00401005
mov eax, dword [0x62ae90]
add esp, 0x18
test eax, eax
je 0x404985
push eax
call fcn.0040b780
add esp, 4
mov ecx, dword [0x62ae2c]
push ecx
call fcn.00406560
mov edx, dword [0x62aecc]
push edx
call fcn.00411f30
mov ecx, dword [esp + 0x3d4]
add esp, 8
xor ecx, esp
xor eax, eax
call fcn.00463f56
add esp, 0x3d0
ret