Function at 0x43c3a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
mov eax, 0x4d296c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004af9f0
mov word [ebp - 0x18], 8
lea edx, [ebp - 4]
push edx
call fcn.00447cec
pop ecx
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push esi
call fcn.0043c37c
pop ecx
push 0x80000000
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 4]
push eax
call fcn.00447d40
add esp, 0xc
test al, al
je 0x43c452
lea edx, [ebp - 4]
push edx
call fcn.00447eb0
pop ecx
mov edi, eax
mov ebx, edi
push ebx
call fcn.004aeb78
pop ecx
mov dword [ebp - 0x30], eax
mov al, byte [ebp + 0x10]
test al, al
je 0x43c42f
push ebx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 4]
push ecx
call fcn.00447e3c
add esp, 0xc
mov dword [ebp - 0x2c], eax
jmp 0x43c443
push ebx
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 4]
push edx
call fcn.00447e00
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 4]
push ecx
call fcn.00447de4
pop ecx
jmp 0x43c559
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [0x4c04b4]
push edx
call fcn.0043dca0
add esp, 8
test al, al
je 0x43c51a
mov ecx, dword [0x4c04b4]
push ecx
call fcn.0043de2c
pop ecx
mov edi, eax
mov ebx, edi
push ebx
call fcn.004aeb78
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43c50c
mov dword [ebp - 0x34], 0x4d260a
mov dl, byte [ebp + 0x10]
test dl, dl
je 0x43c4b4
push 1
push ebx
mov ecx, dword [ebp - 0x30]
push ecx
mov eax, dword [0x4c04b4]
push eax
call fcn.0043ddc8
add esp, 0x10
jmp 0x43c4ca
push 0
push ebx
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [0x4c04b4]
push ecx
call fcn.0043ddc8
add esp, 0x10
mov dword [ebp - 0x2c], edi
xor eax, eax
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov eax, dword [ebp - 0x30]
mov edx, eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004af66c
pop ecx
push eax
mov eax, ebx
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov ebx, edx
mov eax, dword [ebp - 0x34]
mov al, byte [eax + ebx]
mov edx, dword [ebp - 0x3c]
xor byte [edx], al
inc dword [ebp - 0x3c]
inc dword [ebp - 0x38]
inc ebx
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x20
jl 0x43c4dc
mov eax, dword [0x4c04b4]
push eax
call fcn.0043ddc0
pop ecx
jmp 0x43c559
mov edx, dword [ebp + 0xc]
push edx
push 0x4d2619
push 0x122
push 0x4d2612
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
test edi, edi
jg 0x43c59c
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4d2633
push 0x129
push 0x4d262c
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, 0x53504238
jne 0x43c5b0
mov edx, dword [ebp - 0x30]
mov dword [esi + 4], edx
jmp 0x43c5ec
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004aeb78
pop ecx
mov ebx, eax
mov dword [esi + 4], ebx
test ebx, ebx
je 0x43c5df
add edi, 0xfffffffc
push edi
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
push ebx
call fcn.0044723c
add esp, 0xc
mov edx, dword [ebp - 0x30]
push edx
call fcn.004ae9b0
pop ecx
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x43c632
mov edx, dword [ebp + 0xc]
push edx
push 0x4d2651
push 0x13e
push 0x4d264a
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
mov ecx, dword [ebp - 0x2c]
cmp ecx, edi
je 0x43c678
mov eax, dword [ebp + 0xc]
push eax
push 0x4d2669
push 0x145
push 0x4d2662
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
lea ecx, [ebp - 0x58]
push ecx
mov eax, dword [esi + 4]
push eax
push esi
call fcn.0043c8a0
add esp, 0xc
test al, al
jne 0x43c6cc
mov edx, dword [ebp + 0xc]
push edx
push 0x4d268d
push 0x14d
push 0x4d2686
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
cmp word [ebp - 0x58], 3
je 0x43c712
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4d26af
push 0x154
push 0x4d26a8
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
cmp word [ebp - 0x48], 8
je 0x43c758
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4d26d9
push 0x15b
push 0x4d26d2
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
cmp word [ebp - 0x46], 3
jne 0x43c776
cmp word [ebp - 0x44], 2
jl 0x43c776
mov ecx, dword [ebp - 0x42]
test ecx, ecx
jne 0x43c776
mov byte [esi + 0x10], 1
jmp 0x43c823
cmp word [ebp - 0x46], 3
jne 0x43c794
cmp word [ebp - 0x44], 0
jl 0x43c794
mov eax, dword [ebp - 0x42]
test eax, eax
jne 0x43c794
mov byte [esi + 0x10], 0
jmp 0x43c823
cmp word [ebp - 0x46], 4
jne 0x43c7ae
cmp word [ebp - 0x44], 1
jl 0x43c7ae
mov edx, dword [ebp - 0x42]
dec edx
jne 0x43c7ae
mov byte [esi + 0x10], 1
jmp 0x43c823
mov ecx, dword [ebp - 0x42]
test ecx, ecx
je 0x43c7bc
mov eax, 0x4d2722
jmp 0x43c7c1
mov eax, 0x4d2727
push eax
movsx edx, word [ebp - 0x44]
push edx
lea edx, [ebp - 0x158]
movsx ecx, word [ebp - 0x46]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push 0x4d26f6
push edx
call fcn.004bf1ca
add esp, 0x18
lea ecx, [ebp - 0x158]
push ecx
push 0x4d2734
push 0x17e
push 0x4d272d
call fcn.0043d7b8
add esp, 0x10
xor eax, eax
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x43c873
mov ecx, dword [ebp - 0x56]
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0x52]
mov dword [esi + 0xc], eax
movsx eax, word [ebp - 0x44]
mov dword [esi + 0x11], eax
test eax, eax
jne 0x43c841
mov edx, 1
jmp 0x43c844
mov edx, dword [esi + 0x11]
mov dword [esi + 0x11], edx
mov eax, dword [ebp + 0xc]
push eax
add esi, 0x15
push esi
call fcn.004beaa2
mov al, 1
lea edx, [ebp - 4]
push eax
dec dword [ebp - 0xc]
push 2
push edx
call fcn.00447d1c
add esp, 8
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret