Function at 0x404ec3
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x4315d9
call fcn.0041bc0a
mov dword [ebp - 4], 1
mov ax, word [0x43c4c8]
mov word [ebp - 0x110], ax
push 0x35
pop ebx
test ah, ah
je 0x404f05
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x110], dl
inc ecx
cmp ecx, 2
jl 0x404eef
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x10c]
call fcn.00404325
pop ecx
mov byte [ebp - 4], 2
xor ecx, ecx
mov eax, dword [str.QDL6]
mov dword [ebp - 0x118], eax
mov al, byte [0x43c0f0]
mov byte [ebp - 0x114], al
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x118], dl
inc ecx
cmp ecx, 5
jl 0x404f37
lea eax, [ebp - 0x118]
push eax
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0xf4]
call fcn.00404325
pop ecx
push 0x48
mov byte [ebp - 4], 3
call fcn.0041b29b
mov esi, eax
pop ecx
mov dword [ebp - 0x118], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 4
call fcn.0041d020
sub esp, 0xc
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.004040f6
lea eax, [ebp - 0x10d]
mov ecx, esi
push eax
call fcn.0040282f
mov ebx, eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x10d], 0
mov dword [ebp - 0x118], ebx
je 0x405305
cmp byte [0x43c52f], 0
lea edi, [ebp - 0x1c]
mov esi, str._NjUXWRSOSXD
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404fee
push 0x35
pop esi
push 0xc
xor ecx, ecx
pop ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, ebx
jl 0x404fd6
mov ebx, dword [ebp - 0x118]
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.004040bd
mov ecx, ebx
call fcn.00412401
test al, al
je 0x405305
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 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
inc dword [0x4447d0]
test eax, eax
jle 0x4052fd
inc dword [0x4447c8]
lea eax, [ebp - 0x64]
push 4
push edi
push eax
mov ecx, ebx
call fcn.00412742
push 5
push edi
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00412742
push 8
push edi
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.00412742
push 2
push edi
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00412742
push 3
push edi
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00412742
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
mov edx, dword [0x4447d0]
call fcn.004027c8
mov esi, eax
push 0x43bf90
lea edx, [ebp + 8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call fcn.00404325
pop ecx
push 0xc
pop ecx
push esi
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x168]
push eax
push dword [ebp - 0x117]
call fcn.0040466e
push 1
push 0x43bf8c
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xd
call fcn.004042c1
push eax
lea ecx, [ebp - 0x34]
call fcn.00404084
mov byte [ebp - 4], 0xe
xor ecx, ecx
mov eax, dword [0x43c130]
mov dword [ebp - 0x120], eax
mov al, byte [0x43c134]
push 0x35
mov byte [ebp - 0x11c], al
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x120], dl
inc ecx
cmp ecx, 5
jl 0x405131
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040464d
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404084
lea ecx, [ebp - 0x34]
call fcn.00402636
lea ecx, [ebp - 0x168]
call fcn.00402636
lea ecx, [ebp - 0x180]
call fcn.00402636
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x13
call fcn.00402636
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xdc]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x150]
call fcn.0040487b
add esp, 0x10
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x444d28
call fcn.0040dacd
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x13
call fcn.00402636
sub esp, 0x18
mov ecx, esp
push 0x444e00
call fcn.004040f6
push 0x7e
pop edx
lea ecx, [ebp - 0x150]
call fcn.0040783e
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00406e82
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x17
call fcn.00402636
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp esi, eax
je 0x4052a0
mov ebx, eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004040f6
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x64]
call fcn.0040401b
cmp eax, 0xffffffff
je 0x405287
push 0
lea eax, [ebp - 0x34]
mov ecx, 0x443900
push eax
call fcn.0040401b
cmp eax, 0xffffffff
jne 0x405287
push 0x43bf94
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x138]
call fcn.00404325
pop ecx
push eax
mov ecx, 0x443900
mov byte [ebp - 4], 0x19
call fcn.00404245
lea ecx, [ebp - 0x138]
call fcn.00402636
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.00402636
add esi, 0x18
cmp esi, ebx
jne 0x405224
mov ebx, dword [ebp - 0x118]
lea ecx, [ebp - 0x1c]
call fcn.004041b7
lea ecx, [ebp - 0x7c]
call fcn.00402636
lea ecx, [ebp - 0x94]
call fcn.00402636
lea ecx, [ebp - 0xac]
call fcn.00402636
lea ecx, [ebp - 0xc4]
call fcn.00402636
lea ecx, [ebp - 0xdc]
call fcn.00402636
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00402636
mov eax, dword [ebx + 0x3c]
inc edi
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
cmp edi, eax
jl 0x405043
lea ecx, [ebp - 0x4c]
call fcn.00402636
test ebx, ebx
je 0x40531a
mov ecx, ebx
call fcn.00403127
push 0x48
push ebx
call fcn.0041b2cb
pop ecx
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.00402636
lea ecx, [ebp - 0x10c]
call fcn.00402636
lea ecx, [ebp + 8]
call fcn.00402636
lea ecx, [ebp + 0x20]
call fcn.00402636
call fcn.0041bbb9
ret