Function at 0x403e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4208ba
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
xor edi, edi
mov esi, dword [0x42de5c]
mov dword [ebp - 0x7c], edi
test esi, esi
jne 0x403f08
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401230
mov esi, eax
mov byte [ebp - 4], 3
mov dword [0x42de5c], esi
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00402790
lea eax, [esi + 0x68]
lea ecx, [ebp - 0x70]
cmp ecx, eax
je 0x403f33
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x403f27
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00402fa0
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x403f53
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x403f47
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402fa0
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x403f73
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x403f67
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402fa0
mov eax, dword [ebp - 0x78]
add eax, 0x24
push eax
mov dword [ebp - 0xa4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
cmp eax, ecx
je 0x403fab
mov edx, dword [eax + 0x28]
add edi, 2
lea edx, [edx + edx*2]
add edx, dword [eax + 0x10]
add eax, 0x30
add edi, edx
cmp eax, ecx
jne 0x403f93
mov dword [ebp - 0x7c], edi
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x98], eax
call fcn.00409525
mov cx, word [esi + 4]
mov edi, eax
push 0x10
mov dword [ebp - 0x90], edi
mov word [edi], cx
lea eax, [edi + 2]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0x58]
push ecx
push eax
call fcn.0040fab0
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push 8
cmova eax, dword [ebp - 0x40]
lea ecx, [edi + 0x12]
push eax
push ecx
mov dword [ebp - 0xa8], ecx
call fcn.0040fab0
call fcn.0040d30b
mov byte [edi + 0x1a], al
call fcn.0040d30b
mov byte [edi + 0x1b], al
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push 0x20
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [edi + 0x24]
push eax
call fcn.0040fab0
mov ecx, dword [ebp - 0x78]
add esp, 0x28
mov eax, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x404034
mov eax, dword [ecx]
push 8
push eax
lea eax, [edi + 0x1c]
push eax
call fcn.0040fab0
mov eax, dword [ebp - 0x7c]
add esp, 0xc
add eax, 0x7b
mov dword [edi + 0x48], 0xab12de34
mov dword [edi + 0x44], eax
mov esi, edi
lea eax, [edi + 0x48]
cmp edi, eax
jae 0x404084
mov dword [ebp - 0x80], 0x1b
mov al, byte [esi]
xor edx, edx
mov byte [ebp - 0x71], al
inc esi
movzx eax, al
mov ecx, eax
div dword [ebp - 0x80]
and ecx, 3
lea eax, [edi + 0x48]
add dl, byte [ebp - 0x71]
add byte [ecx + edi + 0x48], dl
cmp esi, eax
jb 0x404063
mov eax, dword [ebp - 0x78]
add edi, 0x4c
mov dword [ebp - 0x8c], edi
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x80], esi
cmp esi, dword [eax + 0x1c]
je 0x40414c
nop
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4040aa
mov eax, dword [esi]
mov edx, edi
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x4040b0
add edi, dword [esi + 0x10]
lea eax, [esi + 0x18]
mov dword [ebp - 0x84], eax
mov byte [edi], 0x3d
inc edi
cmp dword [esi + 0x2c], 0xf
jbe 0x4040db
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0
test ecx, ecx
je 0x404136
mov esi, dword [ebp - 0x9c]
mov ecx, edi
mov dword [ebp - 0x94], ecx
movzx eax, byte [esi + eax]
push eax
push str.___02x
push ecx
call fcn.00401050
mov ecx, dword [ebp - 0x94]
add edi, eax
mov eax, dword [ebp - 0x84]
inc esi
add ecx, 3
add esp, 0xc
mov dword [ebp - 0x94], ecx
cmp esi, dword [ebp - 0xa0]
jb 0x404100
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
add esi, 0x30
mov byte [edi], 0x26
inc edi
mov dword [ebp - 0x80], esi
cmp esi, dword [eax + 0x1c]
jne 0x4040a0
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x90]
movups xmm0, xmmword [eax]
mov ax, word [eax + 0x10]
mov word [ebp - 0xac], ax
xor eax, eax
movups xmmword [ebp - 0xbc], xmm0
test ecx, ecx
je 0x40418e
xor byte [eax + edi], 0xaa
inc eax
cmp eax, ecx
jb 0x404185
xor esi, esi
cmp dword [ebp - 0x7c], esi
jbe 0x4041bb
mov eax, 0x38e38e39
mul esi
mov eax, esi
shr edx, 2
lea ecx, [edx + edx*8]
add ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 0x8c]
mov al, byte [eax + edi + 0x12]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp - 0x7c]
jb 0x404195
call fcn.00406c80
mov esi, eax
mov dword [ebp - 0x7c], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x7c]
mov esi, dword [esi]
cmp esi, dword [eax + 4]
je 0x404284
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x78]
xor edx, edx
lea edi, [ebp - 0x80]
test ecx, ecx
cmove eax, edx
test ecx, ecx
lea ecx, [ebp - 0x58]
cmove edi, edx
cmp dword [ebp - 0x44], 0xf
lea edx, [esi + 0x18]
cmova ecx, dword [ebp - 0x58]
cmp dword [esi + 0x2c], 0xf
mov dword [ebp - 0x8c], ecx
jbe 0x404217
mov edx, dword [edx]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x404221
mov ecx, dword [esi]
push eax
push edi
push dword [ebp - 0x98]
mov edi, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
push ecx
call fcn.00404440
mov ecx, dword [ebp - 0x7c]
add esp, 0x18
cmp eax, dword [ecx + 0xc]
je 0x404392
cmp dword [ebp - 0x88], 0
je 0x40426a
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40426a
cmp dword [ebp - 0x78], 0
je 0x40426a
push eax
call fcn.00409520
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7c]
add esi, 0x30
cmp esi, dword [eax + 4]
jne 0x4041e3
push edi
call fcn.00409520
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
push dword [ebp - 0x84]
call eax
mov byte [ebp - 0x71], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x4042d2
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4042c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40442b
push ecx
push edx
call fcn.004094ef
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x404306
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4042fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40442b
push ecx
push edx
call fcn.004094ef
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x40434c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404342
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40442b
push ecx
push edx
call fcn.004094ef
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x40440b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404401
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40442b
jmp 0x404401
cmp dword [ebp - 0x88], 0
je 0x4043eb
mov edi, dword [ebp - 0x80]
test edi, edi
je 0x4043eb
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4043eb
xor esi, esi
test eax, eax
je 0x4043d5
nop
mov eax, 0x38e38e39
mul esi
mov eax, esi
shr edx, 2
lea ecx, [edx + edx*8]
add ecx, ecx
sub eax, ecx
mov al, byte [ebp + eax - 0xbc]
xor byte [esi + edi], al
inc esi
mov eax, dword [ebp - 0x78]
cmp esi, eax
jb 0x4043b0
mov ecx, dword [ebp - 0x88]
push eax
push edi
call fcn.00402fa0
push edi
call fcn.00409520
add esp, 4
push dword [ebp - 0x84]
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov byte [ebp - 0x71], 1
jmp 0x40429e
push ecx
push edx
call fcn.004094ef
add esp, 8
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004094b1
mov esp, ebp
pop ebp
ret 4
call fcn.00410479
int3