Function at 0x100f9420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1019b582
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0x38
mov dword [esp + 0x24], eax
lea eax, [esp + 0x98]
push 0
push eax
call fcn.10161e50
add esp, 4
lea ecx, [esp + 0x9c]
push 0
call fcn.100fcd20
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0xf0], 0
mov eax, 3
mov edi, dword [esp + 0xa4]
movdqa xmmword [esp + 0x94], xmm0
cmp dword [esi + 0x14], 0x10
mov word [esp + 0xa2], ax
mov dword [esp + 0x1c], edi
jb 0x100f94c4
mov ecx, dword [esi]
jmp 0x100f94c6
mov ecx, esi
cmp byte [ecx], 0
mov eax, ecx
je 0x100f94d6
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x100f94d0
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x34], xmm0
mov edx, 0x405
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
movdqa xmmword [esp + 0x24], xmm0
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], str.msgtype
mov dword [esp + 0x24], 7
push edi
lea eax, [esp + 0x38]
mov byte [esp + 0xf4], 3
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x100f9538
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f9546
nop
inc eax
cmp byte [eax], 0
jne 0x100f9540
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], str.guid
mov dword [esp + 0x34], 4
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 7
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0x44], 0x10
lea ecx, [esi + 0x30]
jb 0x100f95a8
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f95b6
nop
inc eax
cmp byte [eax], 0
jne 0x100f95b0
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], str.helperversion
mov dword [esp + 0x34], 0xd
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 0xb
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0x5c], 0x10
lea ecx, [esi + 0x48]
jb 0x100f9618
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f9626
nop
inc eax
cmp byte [eax], 0
jne 0x100f9620
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], str.osversion
mov dword [esp + 0x34], 9
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 0xf
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0x74], 0x10
lea ecx, [esi + 0x60]
jb 0x100f9688
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f9696
nop
inc eax
cmp byte [eax], 0
jne 0x100f9690
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], str.time
mov dword [esp + 0x34], 4
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 0x13
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0x8c], 0x10
lea ecx, [esi + 0x78]
jb 0x100f96fb
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f9708
inc eax
cmp byte [eax], 0
jne 0x100f9702
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], 0x101f4e7c
mov dword [esp + 0x34], 2
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 0x17
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
cmp dword [esi + 0xb0], 0x10
lea ecx, [esi + 0x9c]
jb 0x100f9770
mov ecx, dword [ecx]
cmp byte [ecx], 0
mov eax, ecx
je 0x100f977d
inc eax
cmp byte [eax], 0
jne 0x100f9777
xorps xmm0, xmm0
sub eax, ecx
movdqa xmmword [esp + 0x24], xmm0
mov edx, 0x405
mov word [esp + 0x32], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], dx
mov dword [esp + 0x3c], str.origintype
mov dword [esp + 0x34], 0xa
push edi
lea eax, [esp + 0x28]
mov byte [esp + 0xf4], 0x1b
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
xorps xmm0, xmm0
mov eax, 4
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], ax
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x94]
sub ecx, dword [esi + 0x90]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100f98c5
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x100f9820
xorps xmm0, xmm0
xor ecx, ecx
movdqa xmmword [esp + 0x24], xmm0
mov word [esp + 0x32], cx
mov byte [esp + 0xf0], 0x1f
mov edx, dword [esi + 0x90]
add edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x100f9848
mov edx, dword [edx]
mov cl, byte [edx]
mov eax, edx
mov byte [esp + 0x13], cl
test cl, cl
je 0x100f985d
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x100f9854
cmp byte [esp + 0x13], 0
mov ecx, edx
je 0x100f986c
inc ecx
cmp byte [ecx], 0
jne 0x100f9866
push edi
sub esp, 8
sub ecx, edx
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esp + 0x30]
mov dword [eax], edx
call fcn.100fd9b0
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.100fd070
mov ecx, dword [esi + 0x94]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x90]
inc dword [esp + 0x14]
add dword [esp + 0x18], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
jb 0x100f9820
xorps xmm0, xmm0
mov eax, 0x405
movdqa xmmword [esp + 0x24], xmm0
mov word [esp + 0x32], ax
mov dword [esp + 0x2c], str.port
mov dword [esp + 0x24], 4
push edi
lea eax, [esp + 0x38]
mov byte [esp + 0xf4], 0x22
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
xorps xmm0, xmm0
mov eax, 4
movdqa xmmword [esp + 0x34], xmm0
mov word [esp + 0x42], ax
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xb8]
sub ecx, dword [esi + 0xb4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100f9a50
mov edi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx]
xorps xmm0, xmm0
xor ecx, ecx
movdqa xmmword [esp + 0x24], xmm0
mov word [esp + 0x32], cx
mov byte [esp + 0xf0], 0x25
mov edx, dword [esi + 0xb4]
add edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x100f9978
mov edx, dword [edx]
mov cl, byte [edx]
mov eax, edx
mov byte [esp + 0x13], cl
test cl, cl
je 0x100f998d
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x100f9984
cmp byte [esp + 0x13], 0
mov ecx, edx
je 0x100f999c
inc ecx
cmp byte [ecx], 0
jne 0x100f9996
push dword [esp + 0x1c]
sub ecx, edx
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esp + 0x30]
mov dword [eax], edx
call fcn.100fd9b0
mov eax, dword [esp + 0x34]
cmp eax, edi
jb 0x100f99f9
test edi, edi
jne 0x100f99c6
lea esi, [edi + 0x10]
jmp 0x100f99d1
lea esi, [edi + 1]
shr esi, 1
add esi, edi
cmp esi, edi
jbe 0x100f99f6
mov ecx, dword [esp + 0x1c]
mov eax, esi
shl eax, 4
push eax
shl edi, 4
push edi
push dword [esp + 0x44]
call fcn.100fdab0
mov edi, esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov esi, dword [ebp + 8]
movdqu xmm0, xmmword [esp + 0x24]
mov ecx, eax
inc dword [esp + 0x18]
add dword [esp + 0x14], 0x18
inc eax
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
xor eax, eax
movdqu xmmword [ecx], xmm0
mov ecx, dword [esi + 0xb8]
sub ecx, dword [esi + 0xb4]
mov word [esp + 0x32], ax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
jb 0x100f9950
mov edi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov eax, 0x405
movdqa xmmword [esp + 0x24], xmm0
mov word [esp + 0x32], ax
mov dword [esp + 0x2c], str.flashinfo
mov dword [esp + 0x24], 9
push edi
lea eax, [esp + 0x38]
mov byte [esp + 0xf4], 0x28
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa0]
call fcn.100fd3a0
xorps xmm0, xmm0
movq qword [esp + 0x54], xmm0
movdqa xmmword [esp + 0x44], xmm0
movdqa xmmword [esp + 0x44], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x100
movdqa xmmword [esp + 0x74], xmm0
lea eax, [esp + 0x44]
movdqa xmmword [esp + 0x64], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x64], eax
movdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x100
mov dword [esp + 0x80], 0x144
mov byte [esp + 0x84], 0
lea eax, [esp + 0x64]
mov byte [esp + 0xf0], 0x2b
push eax
lea ecx, [esp + 0x98]
call fcn.100fdef0
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
cmp eax, dword [esp + 0x54]
jbe 0x100f9b34
push 1
lea ecx, [esp + 0x48]
call fcn.100ff4a0
mov ecx, dword [esp + 0x50]
mov eax, ecx
inc ecx
mov dword [esp + 0x50], ecx
mov byte [eax], 0
mov edx, dword [esp + 0x4c]
dec dword [esp + 0x50]
cmp byte [edx], 0
jne 0x100f9b4f
xor ecx, ecx
jmp 0x100f9b5d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f9b54
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.100e9580
push dword [esp + 0x70]
call fcn.10162896
add esp, 4
push dword [esp + 0x6c]
call fcn.1015f106
add esp, 4
push dword [esp + 0x4c]
call fcn.10162896
add esp, 4
push dword [esp + 0x48]
call fcn.1015f106
mov esi, dword [esp + 0xac]
add esp, 4
test esi, esi
je 0x100f9bbe
mov ecx, esi
call fcn.100fd430
push dword [esi + 0x10]
call fcn.1015f106
add esp, 4
push esi
call fcn.1015f106
add esp, 4
push dword [esp + 0xb4]
call fcn.10162896
add esp, 4
push dword [esp + 0xb0]
call fcn.1015f106
add esp, 4
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 8