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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f798
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 0x100aa40e
cmp byte [ebx + 0x67], 1
jne 0x100aa3fe
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
cmp eax, esi
jae 0x100aa39c
cmp ecx, eax
ja 0x100aa39c
mov ebx, eax
sub ebx, ecx
sar ebx, 2
cmp esi, edi
jne 0x100aa391
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x100aa391
sub esi, ecx
mov eax, 0x3fffffff
sar esi, 2
sub eax, esi
cmp eax, 1
jb 0x100aa48a
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.10016850
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edi
test esi, esi
je 0x100aa3f8
mov eax, dword [ecx + ebx*4]
mov dword [esi], eax
jmp 0x100aa3f8
cmp esi, edi
jne 0x100aa3f2
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x100aa3f2
sub esi, ecx
mov eax, 0x3fffffff
sar esi, 2
sub eax, esi
cmp eax, 1
jb 0x100aa48a
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.10016850
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], edi
test esi, esi
je 0x100aa3f8
mov dword [esi], ebx
add esi, 4
mov dword [ebp - 0x38], esi
call dword [0x101213b8]
mov ebx, eax
test ebx, ebx
jne 0x100aa316
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x9c40
jl 0x100aa300
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 3
jl 0x100aa2f0
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 0x100aa494
add edi, eax
jmp 0x100aa4a4
push str.vector_T__too_long
call fcn.100e89b8
call esi
cmp eax, 0x2733
je 0x100aa4a4
cmp eax, 0x2747
jne 0x100aa4b1
mov ecx, dword [ebp - 0x1c]
mov eax, 4
cmp edi, 4
jl 0x100aa470
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 0x100aa4df
add ebx, eax
jmp 0x100aa4ef
call esi
cmp eax, 0x2733
je 0x100aa4ef
cmp eax, 0x2747
jne 0x100aa4f7
mov ecx, dword [ebp - 0x1c]
cmp ebx, 4
jl 0x100aa4c0
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 0x100aa520
add edi, eax
jmp 0x100aa530
call esi
cmp eax, 0x2733
je 0x100aa530
cmp eax, 0x2747
jne 0x100aa538
mov ecx, dword [ebp - 0x1c]
cmp edi, 4
jl 0x100aa501
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 0x100aa561
add ebx, eax
jmp 0x100aa571
call esi
cmp eax, 0x2733
je 0x100aa571
cmp eax, 0x2747
jne 0x100aa579
mov ecx, dword [ebp - 0x1c]
cmp ebx, 4
jl 0x100aa542
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 0x100aa5a5
add edi, eax
jmp 0x100aa5b5
call esi
cmp eax, 0x2733
je 0x100aa5b5
cmp eax, 0x2747
jne 0x100aa5bd
mov ecx, dword [ebp - 0x1c]
cmp edi, 4
jl 0x100aa586
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov esi, 0x10
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea11b
mov edx, dword [0x10154924]
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx]
cmp ecx, edx
je 0x100aa60f
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 0x100aa5f0
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea11b
mov ecx, dword [0x101552e4]
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ecx]
cmp esi, ecx
je 0x100aa66d
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 0x100aa637
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.100aa1a0
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x51956c]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.100aa1a0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.100aa1a0
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi]
shl eax, 4
push eax
call fcn.100aa1a0
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x18], 0
jle 0x100aa7b5
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 0x100aa6fd
add esi, eax
jmp 0x100aa711
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa711
cmp eax, 0x2747
jne 0x100aa716
cmp esi, 4
jl 0x100aa6e0
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 0x100aa73d
add esi, eax
jmp 0x100aa751
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa751
cmp eax, 0x2747
jne 0x100aa756
cmp esi, 4
jl 0x100aa720
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 0x100aa77d
add esi, eax
jmp 0x100aa791
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa791
cmp eax, 0x2747
jne 0x100aa796
cmp esi, 4
jl 0x100aa760
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 0x100aa6d0
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 0x100aa7df
add esi, eax
jmp 0x100aa7f3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100aa7f3
cmp eax, 0x2747
jne 0x100aa7f8
cmp esi, 1
jl 0x100aa7c0
mov al, byte [ebp - 0x2d]
mov edi, dword [ebp - 0x28]
cmp al, 0xfe
je 0x100aacbb
movzx eax, al
cmp eax, 0xc
ja case.0x100aa812.5
jmp dword [eax*4 + 0x100aad2c]
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa220
mov ecx, dword [ebp - 0x14]
mov eax, 0x5186c0
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x100aaca6
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa220
mov ecx, dword [ebp - 0x14]
mov eax, 0x51956c
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x100aaca6
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
push 0x84
mov edx, dword [ebx + edx*4]
call fcn.100aa1a0
jmp 0x100aaca6
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
push 0x84
mov edx, dword [ebx + edx*4]
call fcn.100aa220
jmp 0x100aaca6
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa220
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 0x100aaca6
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [eax]
call fcn.100aa220
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.100ea11b
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 0x100aa9b9
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.1008d050
mov edx, dword [0x101552e8]
mov ecx, 0xffffffe
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp ecx, 1
jb 0x100aacb1
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.1008cd70
mov eax, dword [ebp - 0x88]
jmp 0x100aa9c6
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 0x100aa9fa
mov eax, dword [ebp - 0x20]
add eax, 4
nop dword [eax + eax]
add esi, dword [eax]
lea eax, [eax + 8]
sub ecx, 1
jne 0x100aa9f0
push esi
call fcn.100ea11b
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 0x100aaa9b
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.1008d050
mov edx, dword [0x101552e8]
mov ecx, 0xffffffe
sub ecx, edx
mov dword [ebp - 0x44], eax
cmp ecx, 1
jb 0x100aacb1
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.1008cd70
mov eax, dword [ebp - 0x90]
jmp 0x100aaaa8
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.100aa1a0
mov eax, dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 0x1c]
mov edx, esi
mov ecx, dword [eax]
call fcn.100aa1a0
push esi
call fcn.100e9b5e
push dword [ebp - 0x20]
call fcn.100e9b5e
add esp, 8
jmp case.0x100aa812.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa220
push dword [ebp - 0x18]
call fcn.100ea11b
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, esi
push dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.100aa220
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.100e9b5e
add esp, 4
jmp case.0x100aa812.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
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 0x100aab88
mov eax, dword [eax + 0x24]
jmp 0x100aab8a
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
mov dword [ebp - 0x18], eax
call fcn.100aa1a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100aaca6
push eax
lea ecx, [ebp - 0x74]
call fcn.100ab930
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
jle 0x100aabdc
mov edi, dword [ebp - 0x74]
nop dword [eax]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x80]
push eax
mov edx, esi
call fcn.10017850
mov eax, dword [ebp - 0x80]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
jl 0x100aabc0
mov esi, dword [ebp - 0x74]
mov edx, esi
shl eax, 2
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.100aa1a0
test esi, esi
je case.0x100aa812.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.0x100aa812.5
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push 4
mov ecx, dword [esi]
call fcn.100aa220
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push 4
call fcn.100aa220
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.100ab930
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x68]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.100aa220
xor esi, esi
cmp dword [ebp - 0x18], esi
jle 0x100aac76
mov edi, dword [ebp - 0x68]
push dword [edi + esi*4]
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.10017870
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x100aac63
mov eax, dword [ebp - 0x68]
test eax, eax
je case.0x100aa812.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 0x100aa7b5
push str.list_T__too_long
call fcn.100e89b8
mov ecx, dword [0x10154924]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100aace2
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 0x100aacd0
push dword [ebp - 0x2c]
call fcn.100e9b5e
push dword [ebp - 0x24]
call fcn.100e9b5e
add esp, 8
call dword [0x10121004]
mov dword [0x51c714], 1
test ebx, ebx
je 0x100aad19
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