Function at 0x10008cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
push 0x1000db08
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.10007340
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x10008e7e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
cmp eax, 0x4e534942
jne 0x10008d57
mov byte [ebp - 5], 1
jmp 0x10008d65
and eax, 0x80808080
cmp eax, 0x80808080
sete byte [ebp - 5]
cmp ecx, 3
jb 0x10008e86
mov eax, dword [ebp - 0x34]
cmp eax, 6
jne 0x10008d90
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10008de0
sub eax, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002ad0
jmp 0x10008dda
cmp eax, 8
je 0x10008d9a
cmp eax, 7
jne 0x10008de0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10008de0
xor esi, esi
cmp dword [ebp - 0x2c], esi
jbe 0x10008dc8
xor edi, edi
lea ebx, [ebx]
push 0
lea ecx, [eax + edi]
call fcn.10003b70
inc esi
lea edi, [edi + 0x18]
cmp esi, dword [ebp - 0x2c]
jae 0x10008dc8
mov eax, dword [ebp - 0x28]
jmp 0x10008db0
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.10002ad0
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], 0
mov eax, dword [edx]
cmp eax, 0x4e534942
je 0x10008e5c
and eax, 0x80808080
cmp eax, 0x80808080
jne 0x10008e6c
lea eax, [ecx - 4]
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
lea edi, [edx + 4]
shr ecx, 8
xor edx, edx
movzx eax, al
movzx ebx, cl
imul ebx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
test esi, esi
je 0x10008e5c
mov cl, dl
movzx eax, bl
and cl, 0x7e
movzx ebx, cl
mov cl, byte [edx + edi]
imul ebx, eax
mov al, cl
add bl, dl
add cl, bl
sub al, bl
mov ebx, dword [ebp - 0x20]
and dl, 1
mov edx, dword [ebp - 0x18]
movzx ecx, cl
movzx eax, al
cmove ecx, eax
xor cl, bl
not cl
mov byte [edx + edi], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, esi
jb 0x10008e22
push 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.10006470
jmp 0x10008e86
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.10006700
jmp 0x10008e86
mov al, byte [0x1000d218]
mov byte [ebp - 5], al
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], str.Parameters
push eax
lea ecx, [ebp - 0x44]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x44]
call fcn.10003780
push eax
lea ecx, [ebp - 0x44]
call fcn.10003780
push eax
lea ecx, [ebp - 0x44]
call fcn.10003780
push eax
lea ecx, [ebp - 0x44]
call fcn.10003780
rol eax, 1
lea ecx, [ebp - 0x48]
xor eax, 0xc9e6bd66
mov dword [ebp - 0x100], str.Parameters
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x100]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x48]
call fcn.10003680
push eax
lea ecx, [ebp - 0x48]
call fcn.10003680
push eax
lea ecx, [ebp - 0x48]
call fcn.10003680
push eax
lea ecx, [ebp - 0x48]
call fcn.10003680
rol eax, 2
lea ecx, [ebp - 0x4c]
xor eax, 0xc9e6bd66
mov dword [ebp - 0x104], str.Parameters
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x104]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x4c]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100036c0
rol eax, 3
xor eax, 0xc9e6bd66
xor edx, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + edx*4 - 0xac]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0xc9e6bd66
ror eax, cl
mov dword [ebp + edx*4 - 0xac], eax
inc edx
cmp edx, 3
jb 0x10008f83
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x3e9
call fcn.10002440
mov dword [ebp - 4], 0
mov ebx, eax
cmp dword [ebp - 4], 3
jae 0x10008feb
jmp 0x10008fd0
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xac], 0
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 3
jb 0x10008fd0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], str.LogMode
push eax
lea ecx, [ebp - 0x50]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x50]
call fcn.10003740
push eax
lea ecx, [ebp - 0x50]
call fcn.10003740
push eax
lea ecx, [ebp - 0x50]
call fcn.10003740
push eax
lea ecx, [ebp - 0x50]
call fcn.10003740
rol eax, 1
lea ecx, [ebp - 0x54]
xor eax, 0x3f97f992
mov dword [ebp - 0x10c], str.LogMode
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x54]
call fcn.10003640
push eax
lea ecx, [ebp - 0x54]
call fcn.10003640
push eax
lea ecx, [ebp - 0x54]
call fcn.10003640
push eax
lea ecx, [ebp - 0x54]
call fcn.10003640
rol eax, 2
xor eax, 0x3f97f992
xor edx, edx
mov dword [ebp - 0x94], eax
jmp 0x100090a0
mov eax, dword [ebp + edx*4 - 0x98]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x3f97f992
ror eax, cl
mov dword [ebp + edx*4 - 0x98], eax
inc edx
cmp edx, 2
jb 0x100090a0
push ebx
lea eax, [ebp - 0x98]
push eax
push 0
call fcn.100023f0
mov eax, dword [eax + 0x10]
mov dword [section..bss], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 2
jae 0x1000910b
jmp 0x100090f0
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x98], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jb 0x100090f0
push str.AppVer
mov ecx, ebx
call fcn.100073d0
test eax, eax
jne 0x10009175
mov ecx, 7
lea edi, [ebp - 0x14c]
mov esi, str.ProductVersion
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x1000d66c]
movsw word es:[edi], word [esi]
lea esi, [ecx - 0x100]
add esi, dword [0x1000d670]
cmp esi, ecx
jbe 0x10009175
push 0x1e
lea eax, [ebp - 0x14c]
push eax
push esi
call fcn.10001c20
add esp, 0xc
test eax, eax
je 0x10009166
dec esi
cmp esi, dword [0x1000d66c]
ja 0x10009145
jmp 0x10009175
lea ecx, [esi + 0x1e]
xor edx, edx
call fcn.10002280
mov dword [0x1000d21c], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], str.EmulDongle
push eax
lea ecx, [ebp - 0x58]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x58]
call fcn.10003780
push eax
lea ecx, [ebp - 0x58]
call fcn.10003780
push eax
lea ecx, [ebp - 0x58]
call fcn.10003780
push eax
lea ecx, [ebp - 0x58]
call fcn.10003780
rol eax, 1
lea ecx, [ebp - 0x5c]
xor eax, 0x69fa4fde
mov dword [ebp - 0x118], str.EmulDongle
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x118]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x5c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003680
rol eax, 2
lea ecx, [ebp - 0x60]
xor eax, 0x69fa4fde
mov dword [ebp - 0x11c], str.EmulDongle
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x60]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x60]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x60]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x60]
call fcn.100036c0
rol eax, 3
xor eax, 0x69fa4fde
xor edx, edx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + edx*4 - 0xb8]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x69fa4fde
ror eax, cl
mov dword [ebp + edx*4 - 0xb8], eax
inc edx
cmp edx, 3
jb 0x10009272
mov al, byte [0x100140a0]
lea ecx, [ebp - 0xb8]
push ebx
push ecx
push eax
call fcn.10002490
movzx eax, byte [eax + 0x10]
mov byte [0x100140a0], al
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 3
jae 0x100092db
lea esp, [esp]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb8], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jb 0x100092c0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], str.EmulServer
push eax
lea ecx, [ebp - 0x64]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x64]
call fcn.10003780
push eax
lea ecx, [ebp - 0x64]
call fcn.10003780
push eax
lea ecx, [ebp - 0x64]
call fcn.10003780
push eax
lea ecx, [ebp - 0x64]
call fcn.10003780
rol eax, 1
lea ecx, [ebp - 0x68]
xor eax, 0x8f7b0b20
mov dword [ebp - 0x124], str.EmulServer
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x124]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x68]
call fcn.10003680
push eax
lea ecx, [ebp - 0x68]
call fcn.10003680
push eax
lea ecx, [ebp - 0x68]
call fcn.10003680
push eax
lea ecx, [ebp - 0x68]
call fcn.10003680
rol eax, 2
lea ecx, [ebp - 0x84]
xor eax, 0x8f7b0b20
mov dword [ebp - 0x128], str.EmulServer
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x128]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x84]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x84]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x84]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x84]
call fcn.100036c0
rol eax, 3
xor eax, 0x8f7b0b20
xor edx, edx
mov dword [ebp - 0xbc], eax
jmp 0x100093f0
mov eax, dword [ebp + edx*4 - 0xc4]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x8f7b0b20
ror eax, cl
mov dword [ebp + edx*4 - 0xc4], eax
inc edx
cmp edx, 3
jb 0x100093f0
mov al, byte [0x100140a1]
lea ecx, [ebp - 0xc4]
push ebx
push ecx
push eax
call fcn.10002490
movzx eax, byte [eax + 0x10]
mov byte [0x100140a1], al
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 3
jae 0x1000945b
lea ebx, [ebx]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc4], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jb 0x10009440
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], str.ListenPort
push eax
lea ecx, [ebp - 0x80]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x80]
call fcn.10003780
push eax
lea ecx, [ebp - 0x80]
call fcn.10003780
push eax
lea ecx, [ebp - 0x80]
call fcn.10003780
push eax
lea ecx, [ebp - 0x80]
call fcn.10003780
rol eax, 1
lea ecx, [ebp - 0x7c]
xor eax, 0xa127eade
mov dword [ebp - 0xe0], str.ListenPort
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x7c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x7c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x7c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x7c]
call fcn.10003680
rol eax, 2
lea ecx, [ebp - 0x78]
xor eax, 0xa127eade
mov dword [ebp - 0xe4], str.ListenPort
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x78]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x78]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x78]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x78]
call fcn.100036c0
rol eax, 3
xor eax, 0xa127eade
xor edx, edx
mov dword [ebp - 0xc8], eax
jmp 0x10009560
mov eax, dword [ebp + edx*4 - 0xd0]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0xa127eade
ror eax, cl
mov dword [ebp + edx*4 - 0xd0], eax
inc edx
cmp edx, 3
jb 0x10009560
movzx eax, word [0x100140a4]
lea ecx, [ebp - 0xd0]
push ebx
push ecx
push eax
call fcn.100023f0
mov ax, word [eax + 0x10]
mov word [0x100140a4], ax
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 3
jae 0x100095cb
lea ecx, [ecx]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd0], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jb 0x100095b0
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], str.AppVer
push eax
lea ecx, [ebp - 0x74]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x74]
call fcn.10003700
push eax
lea ecx, [ebp - 0x74]
call fcn.10003700
push eax
lea ecx, [ebp - 0x74]
call fcn.10003700
push eax
lea ecx, [ebp - 0x74]
call fcn.10003700
rol eax, 1
lea ecx, [ebp - 0x88]
xor eax, 0x9f00ef18
mov dword [ebp - 0xec], str.AppVer
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xec]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x88]
call fcn.10003600
push eax
lea ecx, [ebp - 0x88]
call fcn.10003600
push eax
lea ecx, [ebp - 0x88]
call fcn.10003600
push eax
lea ecx, [ebp - 0x88]
call fcn.10003600
rol eax, 2
xor eax, 0x9f00ef18
xor edx, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + edx*4 - 0xa0]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x9f00ef18
ror eax, cl
mov dword [ebp + edx*4 - 0xa0], eax
inc edx
cmp edx, 2
jb 0x10009683
push ebx
lea eax, [ebp - 0xa0]
push eax
push dword [0x1000d21c]
call fcn.100023f0
mov eax, dword [eax + 0x10]
mov dword [0x1000d21c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 2
jae 0x100096eb
lea esp, [esp]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa0], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jb 0x100096d0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], str.UserID
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x6c]
call fcn.10003700
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003700
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003700
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003700
rol eax, 1
lea ecx, [ebp - 0x70]
xor eax, 0x890617ce
mov dword [ebp - 0xf4], str.UserID
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x70]
call fcn.10003600
push eax
lea ecx, [ebp - 0x70]
call fcn.10003600
push eax
lea ecx, [ebp - 0x70]
call fcn.10003600
push eax
lea ecx, [ebp - 0x70]
call fcn.10003600
rol eax, 2
xor eax, 0x890617ce
xor edx, edx
mov dword [ebp - 0x8c], eax
jmp 0x100097a0
mov eax, dword [ebp + edx*4 - 0x90]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x890617ce
ror eax, cl
mov dword [ebp + edx*4 - 0x90], eax
inc edx
cmp edx, 2
jb 0x100097a0
push ebx
lea eax, [ebp - 0x90]
push eax
push dword [0x100140a8]
call fcn.100023f0
mov eax, dword [eax + 0x10]
mov dword [0x100140a8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 2
jae 0x1000980b
lea esp, [esp]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x90], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jb 0x100097f0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], str.LicOptions
push eax
lea ecx, [ebp - 0x20]
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x20]
call fcn.10003780
push eax
lea ecx, [ebp - 0x20]
call fcn.10003780
push eax
lea ecx, [ebp - 0x20]
call fcn.10003780
push eax
lea ecx, [ebp - 0x20]
call fcn.10003780
rol eax, 1
lea ecx, [ebp - 0x1c]
xor eax, 0x22dabf9a
mov dword [ebp - 0xfc], str.LicOptions
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x1c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003680
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003680
rol eax, 2
lea ecx, [ebp - 0x18]
xor eax, 0x22dabf9a
mov dword [ebp - 0x14], str.LicOptions
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10003250
push 0
push 1
push 2
push 3
push 0
lea ecx, [ebp - 0x18]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x18]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x18]
call fcn.100036c0
push eax
lea ecx, [ebp - 0x18]
call fcn.100036c0
rol eax, 3
xor eax, 0x22dabf9a
xor edx, edx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + edx*4 - 0xdc]
lea ecx, [edx + 1]
and ecx, 0xf
xor eax, 0x22dabf9a
ror eax, cl
mov dword [ebp + edx*4 - 0xdc], eax
inc edx
cmp edx, 3
jb 0x10009902
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0x3e9
call fcn.10002440
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 3
jae 0x1000996b
jmp 0x10009950
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xdc], 0
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 3
jb 0x10009950
cmp dword [eax + 0xc], 0
push eax
ja 0x10009979
call fcn.1000af50
jmp 0x1000997e
call fcn.10009bb0
test byte [section..bss], 2
je 0x1000998d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
cmp byte [0x10014ce8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
je 0x10009a55
push 0x208
push 8
mov dword [ebp - 0x40], 0
mov byte [0x10014ce8], 0
call esi
push eax
call edi
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x100099e6
push 8
push 8
call esi
push eax
call edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
jmp 0x10009a0a
push 0x200
push 0x10014ae8
push eax
call fcn.10001c80
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0x200
mov byte [eax + 0x200], 0
lea eax, [ebp - 0x40]
push eax
call fcn.10005e20
cmp dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
cmovne eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectSetSerialNumber]
test eax, eax
jne 0x10009a36
mov eax, dword [0x10014ae8]
add eax, eax
mov word [0x10014ae8], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10009a4b
push 8
push 8
call esi
push eax
call edi
jmp 0x10009a55
call esi
push dword [ebp - 0x14]
push 0
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10009a6a
push 8
push 8
call esi
push eax
call edi
jmp 0x10009a74
call esi
push dword [ebp - 0x14]
push 0
push eax
call ebx
cmp byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jne 0x10009aa3
cmp byte [0x1000d218], 0
jne 0x10009aa3
push 0
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.100024e0
jmp 0x10009af0
push 0xc
push 8
call esi
push eax
call edi
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x10009ab9
xor edx, edx
jmp 0x10009ac9
mov eax, dword [ebp - 0xc]
lea edx, [eax + ecx]
add eax, 4
mov dword [ebp - 0xc], eax
mov byte [eax + ecx], 0
push 4
push 0
push edx
call fcn.10001d60
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
add esp, 0xc
mov dword [eax], 0x4e534942
lea eax, [ebp - 0x10]
push dword [ebp - 0xc]
push eax
call fcn.10006d80
mov edi, edi
push 0x1000db08
lea ecx, [ebp - 0x10]
call fcn.1000bbb0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10009b15
push 8
push 8
call esi
push eax
call edi
mov dword [ebp - 0x10], eax
jmp 0x10009b26
call esi
push dword [ebp - 0x14]
push 0
push eax
call ebx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10009b45
sub eax, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.10002ad0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x34]
cmp eax, 6
jne 0x10009b6c
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10009ba9
sub eax, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002ad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 8
je 0x10009b76
cmp eax, 7
jne 0x10009ba9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10009ba9
xor esi, esi
cmp dword [ebp - 0x2c], esi
jbe 0x10009b9e
xor edi, edi
push 0
lea ecx, [eax + edi]
call fcn.10003b70
inc esi
lea edi, [edi + 0x18]
cmp esi, dword [ebp - 0x2c]
jae 0x10009b9e
mov eax, dword [ebp - 0x28]
jmp 0x10009b86
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.10002ad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret