Function at 0x43409b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
jmp 0x459596
mov dword [ebp - 0x318], eax
mov eax, dword [edi + 0x260]
mov dword [ebp - 0x324], ecx
mov ecx, dword [edi + 0x1e0]
xor ebx, ebx
mov dword [ebp - 0x310], ecx
mov dword [edi + 0x40298], 2
test eax, eax
je 0x4595cd
mov ebx, dword [eax + 0x28]
add ebx, eax
test ecx, ecx
je 0x54ee35
mov edx, dword [ebp - 0x310]
mov esi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x314], esi
cmp dword [esi + 0x14], ecx
jle 0x4ef0a1
jmp 0x4ef056
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x6210
xor dx, word [eax*2 + 0x59d448]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x4a069e
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp dword [0x4a06f7]
mov eax, dword [esi + 0x14]
cmp dword [ebp - 0x31c], eax
je 0x533d35
test eax, eax
jle 0x533d35
xor eax, eax
lea ebx, [ebx]
lea edx, [eax + 1]
imul edx, edx, 0x1ab
xor dx, word [eax*2 + 0x59d484]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xa
jl 0x4a9ed1
push 0
push 0
jmp 0x533d26
mov ecx, dword [ebp - 0x318]
mov dword [edi + 0x40298], 3
mov eax, dword [esi]
push eax
call fcn.0047ac15
mov ecx, eax
add esp, 4
mov dword [edi + 0x40298], 4
test ecx, ecx
jne 0x4ef0a1
mov ecx, dword [esi]
push eax
push ecx
mov ecx, dword [ebp - 0x318]
call fcn.0043cda3
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a069c
test ebx, ebx
je 0x4f1997
jmp 0x4f1960
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x4f1997
cdq
push 0x100
mov dword [ebx + 0x14], edx
lea edx, [ebx + 0x18]
push edx
push 0x100
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 0
mov eax, dword [esi]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x31c], 0
test eax, eax
je 0x582a71
lea ecx, [ebx + 0x218]
jmp 0x55d0fe
mov dword [ebp - 0x320], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52b6ca
sub eax, dword [ebp - 0x320]
push eax
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
test ebx, ebx
je 0x52b6fb
cmp dword [esi + 0x14], 0
jle 0x52b6fb
add ebx, dword [ebx]
mov edx, dword [ebp - 0x310]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x310], eax
test eax, eax
jne 0x4595d5
jmp dword [0x52b719]
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [edi + 0x22c]
test eax, eax
je 0x52b6e7
cmp byte [eax + 0x14], 0
je 0x52b6e7
mov edx, dword [esi + 4]
mov eax, edx
lea ecx, [eax + 1]
jmp 0x52b6c4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004419d3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
mov edx, dword [ebp - 0x314]
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x318]
push 0
push eax
push ecx
call fcn.004df31b
jmp dword [0x55ab70]
mov dword [ebp - 0x330], ecx
jmp 0x55d10f
mov dword [edi + 0x40298], 6
mov esi, dword [eax]
mov dword [edi + 0x40298], 7
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0xd], 0
mov eax, dword [esi + 4]
push 0
test eax, eax
je 0x55ab45
lea edx, [ebp - 0x10c]
jmp dword [0x55d14c]
test ebx, ebx
je 0x533d35
jmp 0x4a9eb2