Function at 0x403070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71f5e0
push 0x71ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x730
mov eax, dword [0x7577cc]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x6dc], edx
mov dword [ebp - 0x6d8], ecx
mov ecx, 0xb8da228b
xor ebx, ebx
xor eax, eax
mov esi, 0xe
jmp 0x4030c0
sub ecx, 0x248154d5
mov dl, byte [eax + 0x756934]
add dl, cl
mov byte [ebp + eax - 0xc8], dl
inc eax
dec esi
jne 0x4030c0
mov byte [ebp - 0xba], bl
mov edi, 0x14
mov word [ebp - 0x70], di
mov word [ebp - 0x6e], 0x51
mov word [ebp - 0x6c], bx
mov word [ebp - 0x6a], 0xa2
mov word [ebp - 0x68], 0x4b
mov word [ebp - 0x66], 0xfd
mov word [ebp - 0x64], 0x82
mov word [ebp - 0x62], 0x2b
mov word [ebp - 0x60], 0x9b
mov word [ebp - 0x5e], 0x53
mov word [ebp - 0x5c], 0xe4
mov word [ebp - 0x5a], pe_nt_image_headers32
mov word [ebp - 0x58], 0x2e
mov word [ebp - 0x56], 0xcb
mov eax, 0x2d
mov word [ebp - 0x54], ax
mov word [ebp - 0x52], 0x20
mov word [ebp - 0x50], 0xbf
mov word [ebp - 0x4e], 0x57
mov word [ebp - 0x4c], 0xe0
mov word [ebp - 0x4a], 0x99
mov word [ebp - 0x48], ax
mov eax, 0xe86f5da3
lea esi, [ebp - 0xe0]
lea ecx, [ebp - 0x6e]
lea ecx, [ecx]
sub eax, 0x7f16d89d
mov dl, byte [ecx]
xor dl, al
mov byte [esi], dl
add ecx, 2
inc esi
dec edi
jne 0x403170
mov byte [ebp - 0xcc], bl
mov cl, 0xe1
xor eax, eax
mov esi, 5
add cl, 0xd5
mov dl, byte [eax + 0x71f505]
xor dl, cl
mov byte [ebp + eax - 0x78], dl
inc eax
dec esi
jne 0x403191
mov byte [ebp - 0x73], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6cc], ebx
mov eax, 0x75a7d8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4031b8
sub eax, ecx
mov edi, eax
mov byte [ebp - 0x28], 0x7d
mov byte [ebp - 0x27], 0xaa
mov byte [ebp - 0x26], 0xd
mov byte [ebp - 0x25], 0xd7
mov byte [ebp - 0x24], 0xe1
mov byte [ebp - 0x23], 0xfd
mov byte [ebp - 0x22], 0xf4
mov byte [ebp - 0x21], 0x56
mov byte [ebp - 0x20], 0xed
xor eax, eax
mov al, 0x75
mov byte [ebp - 0x6cf], al
xor cl, cl
mov byte [ebp - 0x6ce], cl
mov dl, 8
mov byte [ebp - 0x6de], dl
cmp cl, dl
jge 0x40322e
sub eax, 0xf1
mov byte [ebp - 0x6cf], al
movsx esi, cl
xor ebx, ebx
mov bl, byte [ebp + esi - 0x27]
sub ebx, eax
mov byte [ebp + esi - 0x88], bl
inc cl
mov byte [ebp - 0x6ce], cl
xor ebx, ebx
jmp 0x403201
call fcn.00402160
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [edi + 0x75a7d8]
push ecx
call dword [0x71f174]
add esp, 0xc
call dword [0x71f0e4]
mov dword [ebp - 0x720], eax
push 0x104
lea edx, [ebp - 0x204]
push edx
call dword [0x71f0d4]
cmp byte [ebp - 0x204], bl
je 0x4032b0
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403280
sub eax, edx
cmp byte [ebp + eax - 0x205], 0x5c
jne 0x4032b0
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4032a0
sub eax, edx
mov byte [ebp + eax - 0x205], bl
lea eax, [ebp - 0x588]
push eax
lea ecx, [ebp - 0x204]
push ecx
call dword [0x71f0dc]
mov dword [ebp - 0x6e4], eax
cmp eax, 0xffffffff
je 0x4032d6
push eax
call dword [0x71f0e0]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6dc]
push ecx
lea edx, [ebp - 0x204]
mov ecx, dword [ebp - 0x6d8]
call fcn.00402ef0
mov dword [ebp - 0x6cc], eax
mov eax, 0x75a7d8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403304
sub eax, ecx
mov edi, eax
mov eax, 0x26c831cc
mov dword [ebp - 0x700], eax
xor ecx, ecx
mov dword [ebp - 0x72c], ecx
mov dl, 0xe
mov byte [ebp - 0x6dd], dl
lea ebx, [ebx]
movsx esi, cx
movzx ebx, dl
cmp esi, ebx
jge 0x403364
mov ebx, eax
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
mov dword [ebp - 0x700], eax
xor ebx, ebx
mov bl, byte [esi + 0x71f4f5]
add ebx, eax
mov byte [ebp + esi - 0xb8], bl
inc ecx
mov dword [ebp - 0x72c], ecx
jmp 0x403330
movsx edx, cx
mov byte [ebp + edx - 0xb8], 0
call fcn.00402160
push eax
mov ebx, dword [ebp - 0x6cc]
push ebx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [edi + 0x75a7d8]
push ecx
call dword [0x71f174]
add esp, 0x10
test ebx, ebx
jne 0x40396e
push ebx
push 0x26
lea edx, [ebp - 0x204]
push edx
push ebx
call dword [0x71f1e0]
test eax, eax
je 0x4036ca
xor eax, eax
mov dword [ebp - 0x6f0], eax
xor ecx, ecx
mov dword [ebp - 0x6ec], ecx
mov ebx, dword [0x71f170]
lea ebx, [ebx]
cmp ecx, 1
jg 0x4036ca
xor edx, edx
mov dword [ebp - 0x6d4], edx
cmp eax, 5
jle 0x4033f1
lea ecx, [eax - 4]
mov eax, dword [ebp - 0x720]
div ecx
mov dword [ebp - 0x70c], edx
mov ecx, 0x8d40dc09
mov dword [ebp - 0x704], ecx
xor eax, eax
mov dword [ebp - 0x714], eax
movzx esi, byte [0x756914]
xor esi, 9
mov dword [ebp - 0x730], esi
lea ebx, [ebx]
cmp eax, esi
jae 0x403448
sub ecx, 0x123d96f
mov dword [ebp - 0x704], ecx
xor edx, edx
mov dl, byte [eax*4 + 0x756918]
xor edx, ecx
mov byte [ebp + eax - 0x80], dl
inc eax
mov dword [ebp - 0x714], eax
jmp 0x403420
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x80]
push edx
push 0x104
push eax
call ebx
add esp, 0x14
mov byte [ebp - 0x345], 0
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x448]
push edx
call dword [0x71f0dc]
mov dword [ebp - 0x6e4], eax
cmp eax, 0xffffffff
je 0x4036ac
nop
test byte [ebp - 0x344], 0x10
je 0x403683
cmp byte [ebp - 0x318], 0x2e
je 0x403683
mov eax, dword [ebp - 0x584]
sub eax, dword [ebp - 0x340]
mov dword [ebp - 0x6f8], eax
mov edx, dword [ebp - 0x580]
sbb edx, dword [ebp - 0x33c]
mov dword [ebp - 0x6f4], edx
test edx, edx
jg 0x4034eb
jl 0x4034d8
test eax, eax
jae 0x4034eb
neg eax
adc edx, 0
neg edx
mov dword [ebp - 0x6f8], eax
mov dword [ebp - 0x6f4], edx
mov edi, 0x71f5d0
lea esi, [ebp - 0x318]
mov ecx, 0xd
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4035a8
mov edi, 0x71f5bc
lea esi, [ebp - 0x318]
mov ecx, 0x12
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4035a8
mov edi, 0x71f5b0
lea esi, [ebp - 0x318]
mov ecx, 0xc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4035a8
lea esi, [ebp - 0xe0]
lea eax, [ebp - 0x318]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x403565
test cl, cl
je 0x403561
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x403565
add eax, 2
add esi, 2
test cl, cl
jne 0x403541
xor eax, eax
jmp 0x40356a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4035a2
mov edi, 0x71f5a4
lea esi, [ebp - 0x318]
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4035a2
cmp edx, 0xc9
jg 0x40367d
jl 0x4035a2
cmp dword [ebp - 0x6f8], 0x2a69c000
jae 0x40367d
mov ebx, dword [0x71f170]
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0x104
lea ecx, [ebp - 0x448]
push ecx
call ebx
add esp, 0x14
mov byte [ebp - 0x345], 0
lea edx, [ebp - 0x6c8]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [0x71f0dc]
mov dword [ebp - 0x738], eax
cmp eax, 0xffffffff
je 0x403600
push eax
call dword [0x71f0e0]
jmp 0x403683
mov eax, dword [ebp - 0x6ec]
test eax, eax
je 0x403675
mov ecx, dword [ebp - 0x6d4]
mov eax, dword [ebp - 0x70c]
cmp ecx, eax
jl 0x403675
add eax, 5
cmp ecx, eax
jge 0x403675
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x78]
push eax
push 0x104
lea ecx, [ebp - 0x448]
push ecx
call ebx
add esp, 0x14
mov byte [ebp - 0x345], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6dc]
push ecx
lea edx, [ebp - 0x448]
mov ecx, dword [ebp - 0x6d8]
call fcn.00402ef0
mov dword [ebp - 0x6cc], eax
test eax, eax
jne 0x40369f
inc dword [ebp - 0x6d4]
jmp 0x403683
mov ebx, dword [0x71f170]
lea edx, [ebp - 0x344]
push edx
mov eax, dword [ebp - 0x6e4]
push eax
call dword [0x71f0c4]
test eax, eax
jne 0x403490
mov ecx, dword [ebp - 0x6e4]
push ecx
call dword [0x71f0e0]
mov ecx, dword [ebp - 0x6ec]
test ecx, ecx
jne 0x40372f
mov eax, dword [ebp - 0x6d4]
mov dword [ebp - 0x6f0], eax
test eax, eax
jne 0x403735
mov eax, 0x75a7d8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4036d2
sub eax, edx
mov ebx, eax
mov ecx, 0x2339dca8
mov dword [ebp - 0x71c], ecx
xor eax, eax
mov dword [ebp - 0x724], eax
mov edi, 0xf
mov dword [ebp - 0x740], edi
jmp 0x403700
cmp ax, di
jge 0x403741
add ecx, 0x7eb1c169
mov dword [ebp - 0x71c], ecx
movsx esi, ax
xor edx, edx
mov dl, byte [esi*4 + 0x71f50c]
xor edx, ecx
mov byte [ebp + esi - 0xf0], dl
inc eax
mov dword [ebp - 0x724], eax
jmp 0x403700
mov eax, dword [ebp - 0x6f0]
inc ecx
mov dword [ebp - 0x6ec], ecx
jmp 0x4033d0
call fcn.00402160
push eax
mov eax, dword [ebp - 0x6cc]
push eax
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebx + 0x75a7d8]
push edx
call dword [0x71f174]
add esp, 0x10
mov ebx, dword [ebp - 0x6cc]
test ebx, ebx
jne 0x40396e
push ebx
push 0x1a
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [0x71f1e0]
test eax, eax
je 0x40388e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x6dc]
push eax
lea edx, [ebp - 0x204]
mov ecx, dword [ebp - 0x6d8]
call fcn.00402ef0
mov ebx, eax
mov dword [ebp - 0x6cc], ebx
mov eax, 0x75a7d8
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4037c0
sub eax, ecx
mov edi, eax
mov word [ebp - 0x44], 0xee
mov word [ebp - 0x42], 0x5b
mov word [ebp - 0x40], 0x3f
mov word [ebp - 0x3e], 0x5d
mov word [ebp - 0x3c], 0x89
mov word [ebp - 0x3a], 0x92
mov word [ebp - 0x38], 3
mov word [ebp - 0x36], 0xd5
mov word [ebp - 0x34], 0x4a
mov word [ebp - 0x32], 0x26
mov word [ebp - 0x30], 0x44
mov word [ebp - 0x2e], 0x70
mov word [ebp - 0x2c], 0x79
mov word [ebp - 0x2a], 0xed
mov ecx, 0xf130b059
mov dword [ebp - 0x718], ecx
xor eax, eax
mov dword [ebp - 0x728], eax
mov esi, 0xe
mov dword [ebp - 0x73c], esi
lea ecx, [ecx]
cmp eax, esi
jge 0x403868
add ecx, 0x27991df
mov dword [ebp - 0x718], ecx
xor edx, edx
mov dl, byte [ebp + eax*2 - 0x44]
add edx, ecx
mov byte [ebp + eax - 0x98], dl
inc eax
mov dword [ebp - 0x728], eax
jmp 0x403840
mov byte [ebp + eax - 0x98], 0
call fcn.00402160
push eax
push ebx
lea eax, [ebp - 0x98]
push eax
lea ecx, [edi + 0x75a7d8]
push ecx
call dword [0x71f174]
add esp, 0x10
test ebx, ebx
jne 0x40396e
lea edx, [ebp - 0x204]
push edx
push 0x104
call dword [0x71f0c8]
test eax, eax
je 0x40396e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x6dc]
push edx
lea edx, [ebp - 0x204]
mov ecx, dword [ebp - 0x6d8]
call fcn.00402ef0
mov dword [ebp - 0x6cc], eax
mov eax, 0x75a7d8
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4038e0
sub eax, ecx
mov edi, eax
mov ecx, 0xc1cd
mov dword [ebp - 0x710], ecx
xor al, al
mov byte [ebp - 0x6cd], al
mov edx, 0xe
mov dword [ebp - 0x734], edx
lea esp, [esp]
cmp al, dl
jge 0x40393f
add ecx, 0xffff3b71
mov dword [ebp - 0x710], ecx
movsx esi, al
xor ebx, ebx
mov bl, byte [esi*4 + 0x71f548]
sub ebx, ecx
mov byte [ebp + esi - 0xa8], bl
inc al
mov byte [ebp - 0x6cd], al
jmp 0x403910
movsx eax, al
mov byte [ebp + eax - 0xa8], 0
call fcn.00402160
push eax
mov ecx, dword [ebp - 0x6cc]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [edi + 0x75a7d8]
push eax
call dword [0x71f174]
add esp, 0x10
mov eax, 0x75a7d8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403976
sub eax, edx
mov edi, eax
mov eax, 0x7b624e26
mov dword [ebp - 0x6fc], eax
xor esi, esi
mov dword [ebp - 0x708], esi
mov dl, 0xf
mov byte [ebp - 0x6e5], dl
lea esp, [esp]
movsx ecx, si
movzx ebx, dl
cmp ecx, ebx
jge 0x4039d3
mov ebx, eax
shl ebx, 0x1f
shr eax, 1
or eax, ebx
mov dword [ebp - 0x6fc], eax
xor ebx, ebx
mov bl, byte [ecx + 0x71f580]
add ebx, eax
mov byte [ebp + ecx - 0x100], bl
inc esi
mov dword [ebp - 0x708], esi
jmp 0x4039a0
call fcn.00402160
push eax
mov esi, dword [ebp - 0x6cc]
push esi
lea ecx, [ebp - 0x100]
push ecx
lea edx, [edi + 0x75a7d8]
push edx
call dword [0x71f174]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x403a14
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call 0x40f759
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8