Function at 0x100aa270
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [0x51c714], 0
push edi
xor edi, edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
nop word [eax + eax]
mov dword [ebp - 0x20], 0
nop word [eax + eax]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call dword [0x101213c4]
mov ebx, eax
test ebx, ebx
je 0x100aa3de
cmp byte [ebx + 0x67], 1
jne 0x100aa3ce
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
cmp eax, esi
jae 0x100aa36c
cmp ecx, eax
ja 0x100aa36c
mov ebx, eax
sub ebx, ecx
sar ebx, 2
cmp esi, edi
jne 0x100aa361
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x100aa361
sub esi, ecx
mov eax, 0x3fffffff
sar esi, 2
sub eax, esi
cmp eax, 1
jb 0x100aa45a
sub edi, ecx
inc esi
sar edi, 2
mov ecx, 0x3fffffff
mov eax, edi
xor edx, edx
shr eax, 1
sub ecx, eax
add eax, edi
cmp ecx, edi
lea ecx, [ebp - 0x3c]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.10016840
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edi
test esi, esi
je 0x100aa3c8
mov eax, dword [ecx + ebx*4]
mov dword [esi], eax
jmp 0x100aa3c8
cmp esi, edi
jne 0x100aa3c2
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x100aa3c2
sub esi, ecx
mov eax, 0x3fffffff
sar esi, 2
sub eax, esi
cmp eax, 1
jb 0x100aa45a
sub edi, ecx
inc esi
sar edi, 2
mov ecx, 0x3fffffff
mov eax, edi
xor edx, edx
shr eax, 1
sub ecx, eax
add eax, edi
cmp ecx, edi
lea ecx, [ebp - 0x3c]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.10016840
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], edi
test esi, esi
je 0x100aa3c8
mov dword [esi], ebx
add esi, 4
mov dword [ebp - 0x38], esi
call dword [0x101213b8]
mov ebx, eax
test ebx, ebx
jne 0x100aa2e6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x9c40
jl 0x100aa2d0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 3
jl 0x100aa2c0
sub esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
sar esi, 2
xor edi, edi
mov dword [ebp - 0x50], esi
mov eax, dword [0x5186c4]
mov ecx, dword [ecx]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x58], eax
mov eax, dword [0x519574]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x10154928]
mov dword [ebp - 0x48], eax
mov eax, dword [0x101552e8]
mov dword [ebp - 0x4c], eax
mov eax, 4
mov dword [ebp - 0x1c], ecx
nop
push 0
sub eax, edi
push eax
lea eax, [ebp - 0x58]
add eax, edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa464
add edi, eax
jmp 0x100aa474
push str.vector_T__too_long
call fcn.100e89e5
call esi
cmp eax, 0x2733
je 0x100aa474
cmp eax, 0x2747
jne 0x100aa481
mov ecx, dword [ebp - 0x1c]
mov eax, 4
cmp edi, 4
jl 0x100aa440
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
push 0
mov eax, 4
sub eax, ebx
push eax
lea eax, [ebp - 0x5c]
add eax, ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa4af
add ebx, eax
jmp 0x100aa4bf
call esi
cmp eax, 0x2733
je 0x100aa4bf
cmp eax, 0x2747
jne 0x100aa4c7
mov ecx, dword [ebp - 0x1c]
cmp ebx, 4
jl 0x100aa490
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0
mov eax, 4
sub eax, edi
push eax
lea eax, [ebp - 0x48]
add eax, edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa4f0
add edi, eax
jmp 0x100aa500
call esi
cmp eax, 0x2733
je 0x100aa500
cmp eax, 0x2747
jne 0x100aa508
mov ecx, dword [ebp - 0x1c]
cmp edi, 4
jl 0x100aa4d1
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0
mov eax, 4
sub eax, ebx
push eax
lea eax, [ebp - 0x4c]
add eax, ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa531
add ebx, eax
jmp 0x100aa541
call esi
cmp eax, 0x2733
je 0x100aa541
cmp eax, 0x2747
jne 0x100aa549
mov ecx, dword [ebp - 0x1c]
cmp ebx, 4
jl 0x100aa512
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0
mov eax, 4
sub eax, edi
push eax
lea eax, [ebp - 0x50]
add eax, edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa575
add edi, eax
jmp 0x100aa585
call esi
cmp eax, 0x2733
je 0x100aa585
cmp eax, 0x2747
jne 0x100aa58d
mov ecx, dword [ebp - 0x1c]
cmp edi, 4
jl 0x100aa556
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov esi, 0x10
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea165
mov edx, dword [0x10154924]
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx]
cmp ecx, edx
je 0x100aa5df
mov edx, eax
nop word [eax + eax]
mov eax, dword [ecx + 8]
lea edx, [edx + 0x10]
mov dword [edx - 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx - 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [ecx]
cmp ecx, dword [0x10154924]
jne 0x100aa5c0
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea165
mov ecx, dword [0x101552e4]
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ecx]
cmp esi, ecx
je 0x100aa63d
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + 4]
and eax, 1
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebx + 8], eax
lea ebx, [ebx + 0x10]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
mov dword [ebx - 4], eax
mov esi, dword [esi]
cmp esi, dword [0x101552e4]
jne 0x100aa607
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x10]
mov edx, dword [0x5186c0]
shl eax, 2
push eax
mov ecx, dword [esi]
call fcn.100aa170
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x51956c]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.100aa170
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.100aa170
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.100aa170
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x18], 0
jle 0x100aa785
mov eax, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [esi]
xor esi, esi
mov ebx, dword [eax]
add ebx, 0x64
nop dword [eax]
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa6cd
add esi, eax
jmp 0x100aa6e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa6e1
cmp eax, 0x2747
jne 0x100aa6e6
cmp esi, 4
jl 0x100aa6b0
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ebx, dword [ebp - 0x20]
mov edi, dword [eax]
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa70d
add esi, eax
jmp 0x100aa721
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa721
cmp eax, 0x2747
jne 0x100aa726
cmp esi, 4
jl 0x100aa6f0
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ebx, dword [ebx]
mov edi, dword [eax]
nop
push 0
mov eax, 4
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100aa74d
add esi, eax
jmp 0x100aa761
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa761
cmp eax, 0x2747
jne 0x100aa766
cmp esi, 4
jl 0x100aa730
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc ecx
mov esi, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x50]
jl 0x100aa6a0
mov ebx, dword [ebp - 0x3c]
mov edi, dword [esi]
xor esi, esi
nop dword [eax]
push 0
mov eax, 1
sub eax, esi
push eax
lea eax, [ebp - 0x2d]
add eax, esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x100aa7af
add esi, eax
jmp 0x100aa7c3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa7c3
cmp eax, 0x2747
jne 0x100aa7c8
cmp esi, 1
jl 0x100aa790
mov al, byte [ebp - 0x2d]
mov edi, dword [ebp - 0x28]
cmp al, 0xfe
je 0x100aac8b
movzx eax, al
cmp eax, 0xc
ja case.0x100aa7e2.5
jmp dword [eax*4 + 0x100aacfc]
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa1f0
mov ecx, dword [ebp - 0x14]
mov eax, 0x5186c0
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x100aac76
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa1f0
mov ecx, dword [ebp - 0x14]
mov eax, 0x51956c
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x100aac76
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
push 0x84
mov edx, dword [ebx + edx*4]
call fcn.100aa170
jmp 0x100aac76
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
push 0x84
mov edx, dword [ebx + edx*4]
call fcn.100aa1f0
jmp 0x100aac76
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa1f0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
add ecx, ecx
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*8 + 8], eax
jmp 0x100aac76
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [eax]
call fcn.100aa1f0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov esi, dword [ebp - 0x24]
add eax, eax
mov edx, 4
mov eax, dword [esi + eax*8 + 8]
add eax, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea165
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x20], eax
add ecx, ecx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [esi + ecx*8]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x40], ecx
call fcn.100d6150
mov eax, dword [ebp - 0x78]
mov esi, dword [0x101552e4]
cmp eax, esi
jne 0x100aa989
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [esi + 4]
push esi
call fcn.1008d020
mov edx, dword [0x101552e8]
mov ecx, 0xffffffe
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp ecx, 1
jb 0x100aac81
mov ecx, dword [ebp - 0x1c]
inc edx
mov dword [0x101552e8], edx
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov ecx, 0x101552e0
mov eax, dword [0x101552e4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1008cd40
mov eax, dword [ebp - 0x88]
jmp 0x100aa996
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov ecx, dword [eax + 0xc]
push 0
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [ebp - 0x24]
add eax, eax
mov ecx, dword [ecx + eax*8 + 8]
test ecx, ecx
jle 0x100aa9ca
mov eax, dword [ebp - 0x20]
add eax, 4
nop dword [eax + eax]
add esi, dword [eax]
lea eax, [eax + 8]
sub ecx, 1
jne 0x100aa9c0
push esi
call fcn.100ea165
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x1c], eax
add ecx, ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + ecx*8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x40], ecx
push eax
call fcn.100d6150
mov eax, dword [ebp - 0x7c]
mov ecx, dword [0x101552e4]
cmp eax, ecx
jne 0x100aaa6b
push ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x44]
push ecx
push ecx
mov dword [ebp - 0x54], eax
push dword [eax + 4]
push eax
call fcn.1008d020
mov edx, dword [0x101552e8]
mov ecx, 0xffffffe
sub ecx, edx
mov dword [ebp - 0x44], eax
cmp ecx, 1
jb 0x100aac81
mov ecx, dword [ebp - 0x54]
inc edx
mov dword [0x101552e8], edx
mov dword [ecx + 4], eax
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, 0x101552e0
mov eax, dword [0x101552e4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.1008cd40
mov eax, dword [ebp - 0x90]
jmp 0x100aaa78
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
mov ecx, dword [eax + 0xc]
push dword [ebp - 0x1c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add eax, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*8 + 8]
shl eax, 3
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.100aa170
mov eax, dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 0x1c]
mov edx, esi
mov ecx, dword [eax]
call fcn.100aa170
push esi
call fcn.100e9b8b
push dword [ebp - 0x20]
call fcn.100e9b8b
add esp, 8
jmp case.0x100aa7e2.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa1f0
push dword [ebp - 0x18]
call fcn.100ea165
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, esi
push dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.100aa1f0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add ecx, ecx
push esi
mov ecx, dword [eax + ecx*8]
call fcn.100d54b0
push esi
call fcn.100e9b8b
add esp, 4
jmp case.0x100aa7e2.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
call dword [0x101211f4]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100aab58
mov eax, dword [eax + 0x24]
jmp 0x100aab5a
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
mov dword [ebp - 0x18], eax
call fcn.100aa170
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100aac76
push eax
lea ecx, [ebp - 0x74]
call fcn.100ab900
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
jle 0x100aabac
mov edi, dword [ebp - 0x74]
nop dword [eax]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x80]
push eax
mov edx, esi
call fcn.10017840
mov eax, dword [ebp - 0x80]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
jl 0x100aab90
mov esi, dword [ebp - 0x74]
mov edx, esi
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.100aa170
test esi, esi
je case.0x100aa7e2.5
mov edx, dword [ebp - 0x6c]
mov ecx, esi
sub edx, esi
push 4
sar edx, 2
call fcn.1000d8e0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
jmp case.0x100aa7e2.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa1f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa1f0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.100ab900
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x68]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.100aa1f0
xor esi, esi
cmp dword [ebp - 0x18], esi
jle 0x100aac46
mov edi, dword [ebp - 0x68]
push dword [edi + esi*4]
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.10017860
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x100aac33
mov eax, dword [ebp - 0x68]
test eax, eax
je case.0x100aa7e2.5
mov edx, dword [ebp - 0x60]
mov ecx, eax
sub edx, eax
push 4
sar edx, 2
call fcn.1000d8e0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov esi, dword [ebp - 0x10]
call dword [0x10120fc8]
jmp 0x100aa785
push str.list_T__too_long
call fcn.100e89e5
mov ecx, dword [0x10154924]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100aacb2
mov edx, dword [ebp - 0x2c]
add edx, 8
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [eax]
cmp eax, dword [0x10154924]
jne 0x100aaca0
push dword [ebp - 0x2c]
call fcn.100e9b8b
push dword [ebp - 0x24]
call fcn.100e9b8b
add esp, 8
call dword [0x10121004]
mov dword [0x51c714], 1
test ebx, ebx
je 0x100aace9
sub edi, ebx
mov ecx, ebx
sar edi, 2
push 4
mov edx, edi
call fcn.1000d8e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret