Function at 0x100388b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f6c69
mov eax, dword fs:[0]
push eax
sub esp, 0x7c8
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2e0]
push esi
push str.ACQ_Init:_d
push eax
call fcn.100029e0
lea eax, [ebp - 0x2e0]
push eax
call fcn.10025e80
add esp, 0x10
lea eax, [ebp - 0x7d4]
push 0
push eax
test esi, esi
jns 0x1003891e
push 1
call fcn.10039a30
add esp, 0xc
jmp 0x100399fa
cmove esi, dword [case.0x10063695.95]
push esi
mov dword [case.0x10063695.95], esi
call fcn.10039a30
mov eax, dword [0x103c9a1c]
add esp, 0xc
cmp eax, 6
je 0x10038948
cmp eax, 7
je 0x10038948
cmp eax, 9
jne 0x10038954
mov ecx, dword [ebp - 0x4e8]
mov dword [0x103c9df8], ecx
mov ecx, dword [0x103c914c]
mov dword [0x103c9aac], 0
mov dword [0x103c9ab0], 0
test ecx, ecx
jne 0x100389c1
push 0xe0
call fcn.100c00c1
add esp, 4
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003899b
mov ecx, eax
call fcn.100b99e0
mov ecx, eax
jmp 0x1003899d
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c914c], ecx
mov eax, dword [ecx]
push 0
push 0x73
call dword [eax + 0x164]
mov eax, dword [0x103c9a1c]
mov ecx, dword [0x103c914c]
mov ebx, dword [ebp + 0xc]
cmp eax, 5
jge 0x10038c4d
mov edi, dword [ebp - 0x790]
test edi, edi
je 0x10038a87
test byte [0x103ca8c0], 1
je 0x10038a87
call fcn.100bab40
cmp dword [ebp - 0x78c], 0
lea eax, [ebp - 0x110]
je 0x10038a33
push str.AGI___MODEAUT_
push eax
call fcn.100029e0
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.100bbdd0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x368], esp
push str.MODEAUT_
call fcn.10008de0
mov dword [ebp - 4], 1
jmp 0x10038a68
push str.AGI___MODEGEN_
push eax
call fcn.100029e0
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.100bbdd0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x368], esp
push str.MODEGEN_
call fcn.10008de0
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x103c914c]
call fcn.100ba350
mov ecx, dword [0x103c914c]
call fcn.100bab40
jmp 0x10038a8c
call fcn.100ba410
push 0x6a
lea eax, [ebp - 0x34a]
push 0
push eax
call fcn.10296750
add esp, 0xc
mov eax, 0xc
test ebx, ebx
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x364], eax
mov eax, dword [0x103ca8c0]
test eax, eax
js 0x10038adf
cmp dword [0x103c9770], 0
jne 0x10038acf
cmp dword [0x103c9114], 0
jne 0x10038adf
mov ecx, dword [ebp - 0x7a8]
not eax
and eax, 1
cmovne ecx, edx
jmp 0x10038aeb
mov eax, dword [ebp - 0x794]
mov ecx, dword [ebp - 0x7a8]
cmp dword [ebp - 0x7d4], 0
setne byte [ebp - 0x360]
cmp dword [ebp - 0x7d0], 0
setne byte [ebp - 0x35f]
cmp dword [ebp - 0x7cc], 0
setne byte [ebp - 0x35e]
cmp dword [ebp - 0x7c8], 0
setne byte [ebp - 0x35d]
cmp dword [ebp - 0x7c4], 0
setne byte [ebp - 0x35c]
cmp dword [ebp - 0x7c0], 0
setne byte [ebp - 0x35b]
cmp dword [ebp - 0x7bc], 0
setne byte [ebp - 0x35a]
cmp dword [ebp - 0x7b8], 0
setne byte [ebp - 0x359]
cmp dword [ebp - 0x7b4], 0
setne byte [ebp - 0x358]
cmp dword [ebp - 0x7b0], 0
setne byte [ebp - 0x357]
cmp dword [ebp - 0x7ac], 0
setne byte [ebp - 0x356]
test ecx, ecx
setne byte [ebp - 0x355]
cmp dword [ebp - 0x7a4], 0
setne byte [ebp - 0x354]
cmp dword [ebp - 0x7a0], 0
setne byte [ebp - 0x353]
cmp dword [ebp - 0x79c], 0
setne byte [ebp - 0x352]
cmp dword [ebp - 0x798], 0
setne byte [ebp - 0x351]
test eax, eax
movzx eax, byte [ebp - 0x778]
setne byte [ebp - 0x350]
test edi, edi
setne byte [ebp - 0x34b]
add al, al
add al, byte [ebp - 0x77c]
add al, al
add al, byte [ebp - 0x780]
add al, al
add al, byte [ebp - 0x784]
add al, al
add al, byte [ebp - 0x788]
mov byte [ebp - 0x34c], al
movzx eax, byte [ebp - 0x770]
add al, al
add al, byte [ebp - 0x774]
shl al, 6
mov byte [ebp - 0x34d], al
movzx eax, byte [ebp - 0x764]
add al, al
add al, byte [ebp - 0x760]
shl al, 6
add al, byte [ebp - 0x76c]
mov byte [ebp - 0x34e], al
movzx eax, byte [ebp - 0x768]
mov byte [ebp - 0x34f], al
jmp 0x10039434
mov edi, dword [ebp - 0x690]
test edi, edi
je 0x10038d07
test byte [0x103ca8c0], 1
je 0x10038d07
call fcn.100bab40
cmp dword [ebp - 0x6a0], 0
lea eax, [ebp - 0x110]
je 0x10038cb3
push str.AGI___MODEAUT_
push eax
call fcn.100029e0
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.100bbdd0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x368], esp
push str.MODEAUT_
call fcn.10008de0
mov dword [ebp - 4], 3
jmp 0x10038ce8
push str.AGI___MODEGEN_
push eax
call fcn.100029e0
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.100bbdd0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x368], esp
push str.MODEGEN_
call fcn.10008de0
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x103c914c]
call fcn.100ba350
mov ecx, dword [0x103c914c]
call fcn.100bab40
jmp 0x10038d0c
call fcn.100ba410
mov eax, dword [0x103ca8c0]
mov dword [ebp - 0x364], 1
test eax, eax
js 0x10038d38
cmp dword [0x103c9770], 0
jne 0x10038d31
cmp dword [0x103c9114], 0
jne 0x10038d38
not eax
and eax, 1
jmp 0x10038d3e
mov eax, dword [ebp - 0x6a8]
cmp dword [ebp - 0x6e8], 0
setne byte [ebp - 0x360]
cmp dword [ebp - 0x6e4], 0
setne byte [ebp - 0x35f]
cmp dword [ebp - 0x6e0], 0
setne byte [ebp - 0x35e]
cmp dword [ebp - 0x6dc], 0
setne byte [ebp - 0x35d]
cmp dword [ebp - 0x6d8], 0
setne byte [ebp - 0x35c]
cmp dword [ebp - 0x6d4], 0
setne byte [ebp - 0x35b]
cmp dword [ebp - 0x6d0], 0
setne byte [ebp - 0x35a]
cmp dword [ebp - 0x6cc], 0
setne byte [ebp - 0x359]
cmp dword [ebp - 0x6c8], 0
setne byte [ebp - 0x358]
cmp dword [ebp - 0x6c4], 0
setne byte [ebp - 0x357]
cmp dword [ebp - 0x6c0], 0
setne byte [ebp - 0x356]
cmp dword [ebp - 0x6bc], 0
setne byte [ebp - 0x355]
cmp dword [ebp - 0x6b8], 0
setne byte [ebp - 0x354]
cmp dword [ebp - 0x6b4], 0
setne byte [ebp - 0x353]
cmp dword [ebp - 0x6b0], 0
setne byte [ebp - 0x352]
cmp dword [ebp - 0x6ac], 0
setne byte [ebp - 0x351]
test eax, eax
setne byte [ebp - 0x350]
cmp dword [ebp - 0x6a4], 0
setne byte [ebp - 0x34f]
cmp dword [ebp - 0x6a0], 0
setne byte [ebp - 0x34e]
cmp dword [ebp - 0x69c], 0
setne byte [ebp - 0x34d]
cmp dword [ebp - 0x698], 0
setne byte [ebp - 0x34c]
cmp dword [ebp - 0x694], 0
setne byte [ebp - 0x34b]
test edi, edi
setne byte [ebp - 0x34a]
cmp dword [ebp - 0x68c], 0
setne byte [ebp - 0x349]
cmp dword [ebp - 0x688], 0
setne byte [ebp - 0x348]
cmp dword [ebp - 0x684], 0
setne byte [ebp - 0x347]
cmp dword [ebp - 0x680], 0
setne byte [ebp - 0x346]
cmp dword [ebp - 0x67c], 0
setne byte [ebp - 0x345]
cmp dword [ebp - 0x678], 0
setne byte [ebp - 0x344]
cmp dword [ebp - 0x674], 0
setne byte [ebp - 0x343]
cmp dword [ebp - 0x670], 0
setne byte [ebp - 0x342]
cmp dword [ebp - 0x66c], 0
setne byte [ebp - 0x341]
cmp dword [ebp - 0x668], 0
setne byte [ebp - 0x340]
cmp dword [ebp - 0x664], 0
setne byte [ebp - 0x33f]
cmp dword [ebp - 0x660], 0
setne byte [ebp - 0x33e]
cmp dword [ebp - 0x65c], 0
setne byte [ebp - 0x33d]
cmp dword [ebp - 0x658], 0
setne byte [ebp - 0x33c]
cmp dword [ebp - 0x654], 0
setne byte [ebp - 0x33b]
cmp dword [ebp - 0x650], 0
setne byte [ebp - 0x33a]
cmp dword [ebp - 0x64c], 0
setne byte [ebp - 0x339]
cmp dword [ebp - 0x648], 0
setne byte [ebp - 0x338]
cmp dword [ebp - 0x644], 0
setne byte [ebp - 0x337]
cmp dword [ebp - 0x640], 0
setne byte [ebp - 0x336]
cmp dword [ebp - 0x63c], 0
setne byte [ebp - 0x335]
cmp dword [ebp - 0x638], 0
setne byte [ebp - 0x334]
cmp dword [ebp - 0x634], 0
setne byte [ebp - 0x333]
cmp dword [ebp - 0x630], 0
setne byte [ebp - 0x332]
cmp dword [ebp - 0x62c], 0
setne byte [ebp - 0x331]
cmp dword [ebp - 0x628], 0
setne byte [ebp - 0x330]
cmp dword [ebp - 0x624], 0
setne byte [ebp - 0x32f]
cmp dword [ebp - 0x620], 0
setne byte [ebp - 0x32e]
cmp dword [ebp - 0x61c], 0
setne byte [ebp - 0x32d]
cmp dword [ebp - 0x618], 0
setne byte [ebp - 0x32c]
cmp dword [ebp - 0x614], 0
setne byte [ebp - 0x32b]
cmp dword [ebp - 0x610], 0
setne byte [ebp - 0x32a]
cmp dword [ebp - 0x60c], 0
setne byte [ebp - 0x329]
cmp dword [ebp - 0x608], 0
setne byte [ebp - 0x328]
cmp dword [ebp - 0x604], 0
setne byte [ebp - 0x327]
cmp dword [ebp - 0x600], 0
setne byte [ebp - 0x326]
cmp dword [ebp - 0x5fc], 0
setne byte [ebp - 0x325]
cmp dword [ebp - 0x5f8], 0
setne byte [ebp - 0x324]
cmp dword [ebp - 0x5f4], 0
setne byte [ebp - 0x323]
cmp dword [ebp - 0x5f0], 0
setne byte [ebp - 0x322]
cmp dword [ebp - 0x5ec], 0
setne byte [ebp - 0x321]
cmp dword [ebp - 0x5e8], 0
setne byte [ebp - 0x320]
cmp dword [ebp - 0x5e4], 0
setne byte [ebp - 0x31f]
cmp dword [ebp - 0x5e0], 0
setne byte [ebp - 0x31e]
cmp dword [ebp - 0x5dc], 0
setne byte [ebp - 0x31d]
cmp dword [ebp - 0x5d8], 0
setne byte [ebp - 0x31c]
cmp dword [ebp - 0x5d4], 0
setne byte [ebp - 0x31b]
cmp dword [ebp - 0x5d0], 0
setne byte [ebp - 0x31a]
cmp dword [ebp - 0x5cc], 0
setne byte [ebp - 0x319]
cmp dword [ebp - 0x5c8], 0
setne byte [ebp - 0x318]
cmp dword [ebp - 0x5c4], 0
setne byte [ebp - 0x317]
cmp dword [ebp - 0x5c0], 0
setne byte [ebp - 0x316]
cmp dword [ebp - 0x5bc], 0
setne byte [ebp - 0x315]
cmp dword [ebp - 0x5b8], 0
setne byte [ebp - 0x314]
cmp dword [ebp - 0x5b4], 0
setne byte [ebp - 0x313]
cmp dword [ebp - 0x5b0], 0
setne byte [ebp - 0x312]
cmp dword [ebp - 0x5ac], 0
setne byte [ebp - 0x311]
cmp dword [ebp - 0x5a8], 0
setne byte [ebp - 0x310]
cmp dword [ebp - 0x5a4], 0
setne byte [ebp - 0x30f]
cmp dword [ebp - 0x5a0], 0
setne byte [ebp - 0x30e]
cmp dword [ebp - 0x59c], 0
setne byte [ebp - 0x30d]
cmp dword [ebp - 0x598], 0
setne byte [ebp - 0x30c]
cmp dword [ebp - 0x594], 0
setne byte [ebp - 0x30b]
cmp dword [ebp - 0x590], 0
setne byte [ebp - 0x30a]
cmp dword [ebp - 0x58c], 0
setne byte [ebp - 0x309]
cmp dword [ebp - 0x588], 0
setne byte [ebp - 0x308]
cmp dword [ebp - 0x584], 0
setne byte [ebp - 0x307]
cmp dword [ebp - 0x580], 0
setne byte [ebp - 0x306]
cmp dword [ebp - 0x57c], 0
setne byte [ebp - 0x305]
cmp dword [ebp - 0x578], 0
setne byte [ebp - 0x304]
cmp dword [ebp - 0x574], 0
setne byte [ebp - 0x303]
cmp dword [ebp - 0x570], 0
setne byte [ebp - 0x302]
cmp dword [ebp - 0x56c], 0
setne byte [ebp - 0x301]
cmp dword [ebp - 0x568], 0
setne byte [ebp - 0x300]
cmp dword [ebp - 0x564], 0
setne byte [ebp - 0x2ff]
cmp dword [ebp - 0x560], 0
setne byte [ebp - 0x2fe]
cmp dword [ebp - 0x55c], 0
setne byte [ebp - 0x2fd]
cmp dword [ebp - 0x558], 0
setne byte [ebp - 0x2fc]
cmp dword [ebp - 0x554], 0
setne byte [ebp - 0x2fb]
cmp dword [ebp - 0x550], 0
setne byte [ebp - 0x2fa]
cmp dword [ebp - 0x54c], 0
setne byte [ebp - 0x2f9]
cmp dword [ebp - 0x548], 0
setne byte [ebp - 0x2f8]
cmp dword [ebp - 0x544], 0
setne byte [ebp - 0x2f7]
cmp dword [ebp - 0x540], 0
setne byte [ebp - 0x2f6]
cmp dword [ebp - 0x53c], 0
setne byte [ebp - 0x2f5]
cmp dword [ebp - 0x538], 0
setne byte [ebp - 0x2f4]
cmp dword [ebp - 0x534], 0
setne byte [ebp - 0x2f3]
cmp dword [ebp - 0x530], 0
setne byte [ebp - 0x2f2]
cmp dword [ebp - 0x52c], 0
setne byte [ebp - 0x2f1]
cmp dword [ebp - 0x528], 0
setne byte [ebp - 0x2f0]
cmp dword [ebp - 0x524], 0
setne byte [ebp - 0x2ef]
cmp dword [ebp - 0x520], 0
setne byte [ebp - 0x2ee]
cmp dword [ebp - 0x51c], 0
setne byte [ebp - 0x2ed]
cmp dword [ebp - 0x518], 0
setne byte [ebp - 0x2ec]
cmp dword [ebp - 0x514], 0
setne byte [ebp - 0x2eb]
cmp dword [ebp - 0x510], 0
setne byte [ebp - 0x2ea]
cmp dword [ebp - 0x50c], 0
setne byte [ebp - 0x2e9]
cmp dword [ebp - 0x508], 0
setne byte [ebp - 0x2e8]
cmp dword [ebp - 0x504], 0
setne byte [ebp - 0x2e7]
cmp dword [ebp - 0x500], 0
setne byte [ebp - 0x2e6]
cmp dword [ebp - 0x4fc], 0
setne byte [ebp - 0x2e5]
cmp dword [ebp - 0x4f8], 0
setne byte [ebp - 0x2e4]
cmp dword [ebp - 0x4f4], 0
setne byte [ebp - 0x2e3]
cmp dword [ebp - 0x4f0], 0
setne byte [ebp - 0x2e2]
cmp dword [ebp - 0x4ec], 0
setne byte [ebp - 0x2e1]
push 0
push 0x84
lea eax, [ebp - 0x364]
push eax
push dword [0x103c00a0]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1003946f
push 0
push str.s1_send_cmd_init
push 1
push 0x14
push 4
call fcn.10044560
add esp, 0x14
xor eax, eax
jmp 0x100399ff
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x73c]
test ebx, ebx
mov ebx, dword [0x103c9a1c]
mov eax, 0xd
mov ecx, 4
cmove eax, ecx
mov dword [ebp - 0x364], eax
cmp ebx, 5
jge 0x100395c5
lea eax, [ebp - 0x360]
push eax
push dword [ebp - 0x75c]
call fcn.10044040
lea eax, [ebp - 0x35c]
push eax
push dword [ebp - 0x758]
call fcn.10044040
lea eax, [ebp - 0x358]
push eax
push dword [ebp - 0x754]
call fcn.10044040
lea eax, [ebp - 0x354]
push eax
push dword [ebp - 0x750]
call fcn.10044040
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x74c]
call fcn.10044040
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x748]
call fcn.10044040
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x744]
call fcn.10044040
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x740]
call fcn.10044040
add esp, 0x40
lea eax, [ebp - 0x340]
push eax
push edi
call fcn.10044040
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x738]
call fcn.10044040
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x734]
call fcn.10044040
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x730]
call fcn.10044040
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x720]
call fcn.10044040
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x71c]
call fcn.10044040
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x718]
call fcn.10044040
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 0x714]
call fcn.10044040
add esp, 0x40
cmp ebx, 2
jne 0x1003967b
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x710]
call fcn.10044040
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x70c]
call fcn.10044040
lea eax, [ebp - 0x318]
push eax
push dword [ebp - 0x708]
call fcn.10044040
lea eax, [ebp - 0x314]
push eax
push dword [ebp - 0x704]
call fcn.10044040
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x700]
call fcn.10044040
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x6fc]
call fcn.10044040
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x6f8]
call fcn.10044040
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x6f4]
call fcn.10044040
add esp, 0x40
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x6f0]
call fcn.10044040
add esp, 8
jmp 0x10039971
cmp ebx, 3
jne 0x100396be
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x72c]
call fcn.10044040
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x728]
call fcn.10044040
lea eax, [ebp - 0x318]
push eax
push dword [ebp - 0x724]
call fcn.10044040
add esp, 0x18
jmp 0x10039971
cmp ebx, 5
jl 0x10039971
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x360]
push eax
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x100396e0
add eax, dword [ebp - 0x4e8]
jmp 0x100396e2
add eax, ecx
push eax
call fcn.10044040
add esp, 8
lea eax, [ebp - 0x35c]
push eax
push dword [ebp - 0x4e4]
call fcn.10044040
lea eax, [ebp - 0x358]
push eax
push dword [ebp - 0x4e0]
call fcn.10044040
lea eax, [ebp - 0x354]
push eax
push dword [ebp - 0x4dc]
call fcn.10044040
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x4d8]
call fcn.10044040
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x4d4]
call fcn.10044040
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x4d0]
call fcn.10044040
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x4cc]
call fcn.10044040
lea eax, [ebp - 0x340]
push eax
push dword [ebp - 0x4c8]
call fcn.10044040
add esp, 0x40
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x4c4]
call fcn.10044040
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x4c0]
call fcn.10044040
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x4bc]
call fcn.10044040
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x4b8]
call fcn.10044040
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x4b4]
call fcn.10044040
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x4b0]
call fcn.10044040
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 0x4ac]
call fcn.10044040
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x4a8]
call fcn.10044040
add esp, 0x40
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x4a4]
call fcn.10044040
lea eax, [ebp - 0x318]
push eax
push dword [ebp - 0x4a0]
call fcn.10044040
lea eax, [ebp - 0x314]
push eax
push dword [ebp - 0x49c]
call fcn.10044040
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x498]
call fcn.10044040
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x494]
call fcn.10044040
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x490]
call fcn.10044040
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x48c]
call fcn.10044040
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x488]
call fcn.10044040
add esp, 0x40
lea eax, [ebp - 0x2fc]
push eax
push dword [ebp - 0x484]
call fcn.10044040
lea eax, [ebp - 0x2f8]
push eax
push dword [ebp - 0x480]
call fcn.10044040
lea eax, [ebp - 0x2f4]
push eax
push dword [ebp - 0x47c]
call fcn.10044040
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x478]
call fcn.10044040
add esp, 0x20
cmp dword [ebp + 0x18], 0
jne 0x10039904
lea eax, [ebp - 0x2ec]
push eax
push dword [ebp - 0x474]
jmp 0x10039942
mov eax, dword [ebp - 0x474]
xorps xmm1, xmm1
cmp eax, 1
jle 0x10039922
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x10322fc8]
movsd xmm0, qword [0x1031f0c8]
lea eax, [ebp - 0x2ec]
maxsd xmm0, xmm1
push eax
addsd xmm0, qword [0x1031f0b8]
cvttsd2si eax, xmm0
push eax
call fcn.10044040
add esp, 8
lea eax, [ebp - 0x2e8]
push eax
push dword [ebp - 0x470]
call fcn.10044040
lea eax, [ebp - 0x2e4]
push eax
push dword [ebp - 0x46c]
call fcn.10044040
add esp, 0x10
push 0
push 0x84
lea eax, [ebp - 0x364]
push eax
push dword [0x103c00a0]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1003999c
push 0
push str.s1_send_cmd_elset
jmp 0x1003945a
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x160]
shr edi, 3
push eax
push 0x103c8f10
push esi
and edi, 1
push 0x10322dc8
mov dword [0x103c00ac], edi
call fcn.100be970
lea eax, [ebp - 0x160]
push eax
push esi
lea eax, [ebp - 0x1e0]
push str.s1_init_sent__mode__d___s__
push eax
call fcn.100029e0
push 0
lea ecx, [ebp - 0x1e0]
push ecx
push 0
push 0x14
push 0
call fcn.10044560
add esp, 0x34
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret