Function at 0x1003e92
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x724
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1003eb9
push dword [ebp + 0xc]
lea eax, [ebp - 0x724]
push eax
push dword [ebp + 8]
call fcn.01003d51
test eax, eax
jne 0x1003ec0
xor eax, eax
jmp 0x1004210
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0xf003f
push edi
push ebx
push 0x1001c2c
mov esi, 0x80000002
push esi
call dword [fcn.01001010]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1003f2b
cmp dword [ebp + 0xc], ebx
je 0x1003f24
push ebx
push 0x100
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push eax
push ebx
push 0x1000
call dword [0x1001028]
lea eax, [ebp - 0x11c]
push eax
push 0x1001c2c
push dword [ebp - 0xc]
push 0x1001c00
push dword [ebp + 0xc]
call fcn.01004a34
add esp, 0x14
xor eax, eax
jmp 0x100420e
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
mov edi, 0x1001bc8
push edi
push esi
call dword [fcn.0100100c]
mov esi, eax
cmp esi, ebx
je 0x1003f78
cmp dword [ebp + 0xc], ebx
je 0x1003f24
push ebx
push 0x100
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [0x1001028]
lea eax, [ebp - 0x11c]
push eax
push edi
push esi
push 0x1001b98
jmp 0x1003f19
push 0xc
mov eax, 0x1001b8c
push eax
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [0x1001014]
mov esi, eax
cmp esi, ebx
je 0x1003fc6
cmp dword [ebp + 0xc], ebx
je 0x100401d
push ebx
push 0x100
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [0x1001028]
lea eax, [ebp - 0x11c]
push eax
push esi
push 0x1001b64
jmp 0x1004012
push 0x104
lea eax, [ebp - 0x620]
push eax
push ebx
call dword [0x1001034]
test eax, eax
jne 0x100402b
call dword [0x100102c]
cmp dword [ebp + 0xc], ebx
mov esi, eax
je 0x100401d
push ebx
push 0x100
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [0x1001028]
lea eax, [ebp - 0x11c]
push eax
push esi
push 0x1001b38
push dword [ebp + 0xc]
call fcn.01004a34
add esp, 0x10
push dword [ebp - 4]
call dword [0x1001004]
jmp 0x1003f24
xor eax, eax
mov cl, byte [ebp + eax - 0x620]
mov byte [ebp + eax - 0x51c], cl
inc eax
cmp cl, bl
jne 0x100402d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], ebx
je 0x100405d
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x100404f
mov esi, 0x1001b34
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x100407a
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x100406c
mov esi, 0x1001b30
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x1004131
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.01002e30
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x1004099
mov esi, 0x1001b2c
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10040ac
lea edi, [ebp - 0x51c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x10040bc
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10040db
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov esi, 0x1001b28
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10040f3
lea edi, [ebp - 0x51c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1004103
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x1004122
mov esi, 0x1001b24
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x1004138
mov esi, 0x1001b18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x724]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1004150
lea edi, [ebp - 0x51c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1004160
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x51c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x100417f
mov esi, 0x1001b24
lea eax, [ebp - 0x51c]
movsw word es:[edi], word [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1004197
sub eax, esi
push eax
lea eax, [ebp - 0x51c]
push eax
push 1
push ebx
push 0x1001af4
push dword [ebp - 8]
call dword [0x1001014]
mov edi, dword [0x1001004]
mov esi, eax
cmp esi, ebx
je 0x10041ff
cmp dword [ebp + 0xc], ebx
je 0x1004207
push ebx
push 0x100
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [0x1001028]
lea eax, [ebp - 0x11c]
push eax
push esi
push 0x1001ac8
push dword [ebp + 0xc]
call fcn.01004a34
add esp, 0x10
jmp 0x1004207
push dword [ebp - 4]
call edi
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8