Function at 0x4245f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x794167
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c4], ebx
mov dword [ebp - 0x4c4], ebx
mov eax, 0xc
mov dword [ebp - 0x4e4], eax
xor ecx, ecx
mov dword [ebp - 0x4e0], 0xcf00c2
mov dword [ebp - 0x4dc], 0xc200d9
mov dword [ebp - 0x4d8], 0xc200c8
mov dword [ebp - 0x4d4], 0x82009c
mov dword [ebp - 0x4d0], 0xd6009f
mov dword [ebp - 0x4cc], 0xd800df
mov dword [ebp - 0x4c8], 0xb5
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x4e0], ax
inc ecx
mov eax, dword [ebp - 0x4e4]
cmp ecx, eax
jb 0x424680
xor ecx, ecx
mov word [ebp + eax*2 - 0x4e0], cx
lea eax, [ebp - 0x420]
push 0x208
push eax
lea eax, [ebp - 0x4e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 0x4c4], 0
lea edx, [ebp - 0x420]
push dword [ebp - 0x4c4]
lea ecx, [ebp - 0x4dc]
call fcn.00425410
add esp, 4
lea edx, [ebp - 0x4dc]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c0]
call fcn.0042ac10
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 2
call fcn.00404490
xor eax, eax
cmp dword [ebp - 0x438], eax
jne 0x424734
push eax
mov dword [ebx + 0x10], eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
push 0x7cf388
mov word [ebx], ax
call fcn.004044f0
jmp 0x424889
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
push 0x7d75d8
lea ecx, [ebp - 0x4fc]
movq qword [ebp - 0x42c], xmm0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 7
mov word [ebp - 0x4fc], ax
call fcn.004044f0
lea eax, [ebp - 0x4fc]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x448]
lea ecx, [ebp - 0x42c]
call fcn.00405a10
add esp, 4
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 5
call fcn.00404490
mov ecx, dword [ebp - 0x428]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x42c]
sub ecx, edi
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 2
jae 0x4247ed
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x7cf388
mov word [ebx], ax
call fcn.004044f0
jmp 0x42487e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4247f7
mov eax, dword [edi]
cmp dword [edi + 0x10], 2
jne 0x42484a
push 2
push 0x7d77b4
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x42484a
cmp esi, 2
jbe 0x42484a
add edi, 0x30
cmp dword [edi + 0x14], 8
jb 0x424821
mov edi, dword [edi]
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
cmp eax, 0x55f0
jl 0x424844
mov ecx, dword [ebp - 0x42c]
push 2
push 0x7d77bc
call fcn.004044f0
mov edi, dword [ebp - 0x42c]
push 0x7d75d8
lea eax, [ebp - 0x514]
push edi
push eax
lea esi, [edi + 0x18]
call fcn.00421b40
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 6
mov ecx, ebx
call fcn.00413520
add esp, 4
lea ecx, [ebp - 0x514]
call fcn.00404490
lea ecx, [ebp - 0x42c]
call fcn.00404220
lea ecx, [ebp - 0x448]
call fcn.00404490
lea ecx, [ebp - 0x460]
call fcn.00404490
lea ecx, [ebp - 0x478]
call fcn.00404490
lea ecx, [ebp - 0x490]
call fcn.00404490
lea ecx, [ebp - 0x4a8]
call fcn.00404490
lea ecx, [ebp - 0x4c0]
call fcn.00404490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret