Function at 0x4071d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428d00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2d7], dl
mov byte [ebp - 0x2d6], cl
mov dword [ebp - 4], 2
cmp byte [0x43abd0], 0
jne 0x407abe
push 0
call fcn.0041697a
add esp, 4
push eax
call fcn.00416834
mov dword [ebp - 0x40], 0
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x148
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00410380
add esp, 0xc
mov dword [ebp - 0x2c4], 0x435a20
mov dword [ebp - 0x2cc], 0x7a120
push 0x7a120
call fcn.0040e7e1
add esp, 4
mov dword [ebp - 0x2d0], eax
push dword [ebp - 0x2cc]
push 0
push eax
call fcn.00410380
add esp, 0xc
mov dword [ebp - 0x2ac], 0xfde9
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov byte [ebp - 4], 4
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x1c], 0x5e465e00
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0x42424a01
mov ecx, dword [eax]
mov dword [ebp - 0x20], 0x574b4501
mov byte [ebp - 0x2d5], 0x2e
mov dword [ebp - 0x2d4], ecx
nop dword [eax + eax]
mov eax, dword [0x43af94]
cmp eax, dword [ecx + 4]
jle 0x40736b
push 0x43af94
call fcn.0040e91c
add esp, 4
cmp dword [0x43af94], 0xffffffff
jne 0x40736b
movq xmm0, qword [ebp - 0x24]
mov al, byte [ebp - 0x2d5]
push 0x429360
movq qword [0x43af7c], xmm0
mov dword [0x43af84], edi
mov byte [0x43af88], al
call fcn.0040ed43
add esp, 4
push 0x43af94
call fcn.0040e8d2
add esp, 4
cmp byte [0x43af88], 0
je 0x40738d
xor eax, eax
nop word [eax + eax]
xor byte [eax + 0x43af7c], 0x2e
inc eax
cmp eax, 0xd
jb 0x407380
mov ecx, 0x43af7c
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0xf
mov byte [ebp - 0x310], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4073c0
sub ecx, edx
push ecx
push 0x43af7c
lea ecx, [ebp - 0x310]
call fcn.00402400
mov byte [ebp - 4], 7
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea ecx, [ebp - 0x310]
call fcn.0040d100
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2f4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x2f4]
cmp dword [ebp - 0x2e0], 0x10
mov eax, dword [ebp - 0x2a4]
cmovae esi, dword [ebp - 0x2f4]
mov dword [ebp - 0x29c], 0
test eax, eax
je 0x40747e
push eax
call fcn.0040e5a1
add esp, 4
mov dword [ebp - 0x2a4], 0
push esi
lea ecx, [ebp - 0x2d0]
call fcn.00401d30
mov byte [ebp - 4], 7
mov esi, eax
mov edx, dword [ebp - 0x2e0]
cmp edx, 0x10
jb 0x4074ca
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4074c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
cmp edx, 0x10
jb 0x407523
mov ecx, dword [ebp - 0x310]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407519
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
test esi, esi
je 0x407560
mov edx, dword [ebp - 0x2a8]
xor eax, eax
cmp dword [ebp - 0x29c], eax
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407540
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402400
mov eax, dword [ebp - 0x30]
cmp eax, 0xa
jbe 0x407560
cmp eax, 0x64
jb 0x407576
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2d4]
jmp 0x407310
push 0x148
xor esi, esi
lea eax, [ebp - 0x188]
push esi
push eax
call fcn.00410380
add esp, 0xc
mov dword [ebp - 0x17c], 0x435a20
mov dword [ebp - 0x184], 0x7a120
push 0x7a120
call fcn.0040e7e1
add esp, 4
mov dword [ebp - 0x188], eax
push dword [ebp - 0x184]
push esi
push eax
call fcn.00410380
add esp, 0xc
mov dword [ebp - 0x164], 0xfde9
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], esi
cmp byte [ebp - 0x2d6], 0
mov byte [ebp - 4], 9
jne 0x407a2c
cmp byte [ebp - 0x2d7], 0
jne 0x407a2c
cmp byte [0x43abd1], 0
jne 0x407a2c
nop dword [eax + eax]
mov ecx, dword [ebp - 0x2d4]
inc esi
mov eax, dword [0x43ac50]
mov dword [ebp - 0x2f8], esi
mov word [ebp - 0x18], 0x2e5e
cmp eax, dword [ecx + 4]
jle 0x407678
push 0x43ac50
call fcn.0040e91c
add esp, 4
cmp dword [0x43ac50], 0xffffffff
jne 0x407678
movaps xmm0, xmmword [0x435bf0]
mov ax, word [ebp - 0x18]
push 0x429340
movups xmmword [0x43ad08], xmm0
mov word [0x43ad18], ax
call fcn.0040ed43
add esp, 4
push 0x43ac50
call fcn.0040e8d2
add esp, 4
cmp byte [0x43ad19], 0
je 0x4076ad
movups xmm0, xmmword [0x43ad08]
mov eax, 0x10
movaps xmm1, xmmword [str.................e]
pxor xmm1, xmm0
movups xmmword [0x43ad08], xmm1
nop
xor byte [eax + 0x43ad08], 0x2e
inc eax
cmp eax, 0x12
jb 0x4076a0
mov ecx, 0x43ad08
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0xf
mov byte [ebp - 0x310], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4076e0
sub ecx, edx
push ecx
push 0x43ad08
lea ecx, [ebp - 0x310]
call fcn.00402400
mov byte [ebp - 4], 0xc
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea ecx, [ebp - 0x310]
call fcn.0040d100
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2f4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x2f4]
cmp dword [ebp - 0x2e0], 0x10
mov eax, dword [ebp - 0x15c]
cmovae esi, dword [ebp - 0x2f4]
mov dword [ebp - 0x154], 0
test eax, eax
je 0x40779e
push eax
call fcn.0040e5a1
add esp, 4
mov dword [ebp - 0x15c], 0
push esi
lea ecx, [ebp - 0x188]
call fcn.00401d30
mov byte [ebp - 4], 0xc
mov esi, eax
mov edx, dword [ebp - 0x2e0]
cmp edx, 0x10
jb 0x4077ea
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
cmp edx, 0x10
jb 0x407843
mov ecx, dword [ebp - 0x310]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
test esi, esi
je 0x40793a
cmp dword [ebp - 0x160], 0
je 0x40793a
mov edi, dword [ebp - 0x154]
test edi, edi
je 0x40793a
cmp edi, 0x16
jbe 0x40793a
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00414e4d
mov ecx, dword [ebp - 0x154]
lea esi, [edi + 1]
add esp, 4
mov dword [ebp - 0x314], eax
test ecx, ecx
jne 0x40789d
xor esi, esi
jmp 0x4078b2
cmp esi, ecx
cmova esi, ecx
push esi
push dword [ebp - 0x160]
push eax
call fcn.0040fd40
add esp, 0xc
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414e4d
sub esp, 0x14
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0040be30
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x2dc]
push eax
mov edx, esi
call fcn.00403450
mov ecx, dword [ebp - 0x2dc]
add esp, 4
mov edx, eax
call fcn.00402c00
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40793a
xor edx, edx
mov ecx, esi
call fcn.00403200
test eax, eax
jne 0x40793a
mov edx, 0xff
mov ecx, esi
call fcn.00403200
test eax, eax
jne 0x40793a
mov edx, 0x435a24
mov ecx, esi
call fcn.00403200
mov edi, eax
test edi, edi
jne 0x40794e
mov esi, dword [ebp - 0x2f8]
cmp esi, 0xa
jl 0x407610
jmp 0x407a2c
xor esi, esi
mov byte [ebp - 0x2dc], 0
xor al, al
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x2d4], eax
nop dword [eax]
cmp dword [ebx + 0x4c], 0x10
lea ecx, [ebx + 0x38]
lea eax, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x38]
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
push eax
call edi
mov edx, dword [ebp - 0x2dc]
add esp, 8
mov ecx, eax
test dl, dl
je 0x4079ae
test ecx, ecx
jne 0x4079ae
mov al, 1
mov byte [0x43abd0], 1
mov dword [ebp - 0x2d4], eax
jmp 0x4079b4
mov eax, dword [ebp - 0x2d4]
cmp esi, 0xa
jl 0x4079cc
cmp ecx, 1
movzx eax, al
cmovne eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2d4], eax
cmp esi, 0xf
jl 0x4079de
cmp ecx, 1
jne 0x4079e9
mov byte [ebp - 0x2d4], cl
jmp 0x4079e9
mov dword [ebp - 0x2d4], eax
cmp esi, 5
jl 0x4079f2
test dl, dl
jne 0x4079f2
cmp ecx, 0xfffffffe
je 0x407a21
cmp ecx, 1
movzx edx, dl
mov eax, 1
cmove edx, eax
inc esi
push 0x7d0
mov dword [ebp - 0x2dc], edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x2d4], 0
je 0x407970
jmp 0x407a2c
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x188]
call fcn.0040e5a1
add esp, 4
push dword [ebp - 0x160]
call fcn.0040e5a1
add esp, 4
push dword [ebp - 0x15c]
call fcn.0040e5a1
mov esi, dword [sym.imp.ole32.dll_CoUninitialize]
add esp, 4
call esi
push dword [ebp - 0x2d0]
call fcn.0040e5a1
add esp, 4
push dword [ebp - 0x2a8]
call fcn.0040e5a1
add esp, 4
push dword [ebp - 0x2a4]
call fcn.0040e5a1
add esp, 4
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x407abe
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407ab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x407af2
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407ae8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edx, 0x10
jb 0x407b34
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov edx, dword [ebx + 0x4c]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
cmp edx, 0x10
jb 0x407b76
mov ecx, dword [ebx + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b94
push edx
push ecx
call fcn.0040e7d3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e593
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00412da7
int3