Function at 0x4d3410
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x14f8]
mov eax, 0x14f8
call fcn.00507730
push 0xffffffffffffffff
push 0x53d443
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp + 0x14f4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x1504]
xor eax, eax
mov esi, dword [ebp + 0x1500]
mov edi, dword [ebp + 0x150c]
push 0x200
push eax
mov word [ebp + 0x13c4], ax
lea eax, [ebp + 0x11c4]
push eax
push str.PasswordData
push ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], edi
call fcn.004af150
test eax, eax
jne 0x4d3573
push 0x100
push eax
lea eax, [ebp + 0x10c0]
push eax
call fcn.00520500
add esp, 0xc
lea eax, [ebp + 0x10c0]
push 0x100
push 0
push eax
push str.PasswordWide
push ebx
call fcn.004af150
mov edx, eax
test edx, edx
jne 0x4d352f
push 0x100
push eax
mov byte [ebp + 0x10c0], al
lea eax, [ebp + 0x10c0]
push eax
push str.Password
push ebx
call fcn.004af150
xor edx, edx
test eax, eax
jle 0x4d3501
lea esp, [esp]
lea ecx, [edx + 0x49]
xor byte [ebp + edx + 0x10c0], cl
je 0x4d3501
inc edx
cmp edx, eax
jl 0x4d34f0
push 0x80
lea eax, [ebp + 0x13c4]
push eax
lea eax, [ebp + 0x10c0]
push eax
call fcn.004a0cd0
push 0x100
lea eax, [ebp + 0x10c0]
push eax
call fcn.0049b220
jmp 0x4d37de
xor ecx, ecx
test edx, edx
jle 0x4d3545
mov al, cl
add al, 0x49
xor byte [ebp + ecx + 0x10c0], al
inc ecx
cmp ecx, edx
jl 0x4d3535
push 0x80
lea eax, [ebp + 0x13c4]
push eax
lea eax, [ebp + 0x10c0]
push eax
call fcn.004a0da0
push 0x100
lea eax, [ebp + 0x10c0]
push eax
call fcn.0049b220
jmp 0x4d37de
lea ecx, [ebp - 0x30]
call fcn.00489fa0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x11c4]
push 0x200
push eax
lea ecx, [ebp - 0x30]
call fcn.0048a520
lea ecx, [ebp - 0x30]
call fcn.0048a030
cmp al, 1
jne 0x4d37b5
lea ecx, [ebp - 0x30]
call fcn.0048a090
shr eax, 0x18
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x14c4]
push 0x10
push eax
call fcn.0048a1e0
push 0x10
lea eax, [ebp + 0x14d4]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048a1e0
push 8
lea eax, [ebp + 0x14ec]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048a1e0
lea ecx, [ebp]
call fcn.0046a020
mov byte [ebp - 4], 1
xor bl, bl
lea ecx, [ebp + 0x10c0]
call fcn.0049adc0
mov byte [ebp - 4], 2
cmp byte [0x5d96d0], 0
je 0x4d3629
mov ecx, 0x40
lea edi, [ebp + 0x10c0]
mov esi, 0x5d95d0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
jmp 0x4d3639
push 0x543fa8
lea ecx, [ebp + 0x10c0]
call fcn.0049b1a0
lea eax, [ebp + 0x14e4]
push eax
push 0
push dword [ebp - 0x3c]
lea eax, [ebp + 0x14d4]
push eax
lea eax, [ebp + 0x14c4]
push eax
lea eax, [ebp + 0x10c0]
push eax
push 5
push 0
lea ecx, [ebp]
call fcn.0046a9f0
lea ecx, [ebp + 0x14ec]
mov eax, dword [ecx]
lea edx, [ebp + 0x14e4]
cmp eax, dword [edx]
jne 0x4d3684
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x4d3684
xor al, al
jmp 0x4d3686
mov al, 1
test al, al
je 0x4d36f1
test bl, bl
je 0x4d36ae
push 0
push 0x66
call fcn.00497960
push eax
push 0x606
call fcn.00497960
push eax
push dword [0x57dfa8]
call fcn.004d8380
push edi
push 0
push 0x5d95d0
push esi
call fcn.0044f210
test al, al
je 0x4d36d6
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10c0]
call fcn.0049af20
mov bl, 1
jmp 0x4d35f5
mov byte [0x596ea6], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10c0]
call fcn.0049af20
jmp 0x4d379b
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10c0]
call fcn.0049af20
mov eax, dword [ebp - 0x18]
lea ecx, [ebp]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
push eax
call fcn.0046a740
lea ecx, [ebp - 0x30]
call fcn.0048a050
movzx esi, ax
mov eax, esi
cmp esi, 0x80
jb 0x4d3730
mov eax, 0x80
push eax
lea eax, [ebp + 0x13c4]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048a330
cmp esi, 0x7f
jb 0x4d374a
mov esi, 0x7f
add esi, esi
cmp esi, 0x100
jae 0x4d3875
push dword [ebp - 0x14]
xor eax, eax
push dword [ebp - 0x30]
mov word [ebp + esi + 0x13c4], ax
push 0xffffffffffffffff
call fcn.00469970
mov esi, eax
lea ecx, [ebp - 0x30]
not esi
call fcn.0048a090
cmp esi, eax
je 0x4d379b
xor eax, eax
push 0x5d0
mov word [ebp + 0x13c4], ax
call fcn.00497960
push eax
call fcn.004dcc30
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call fcn.0049b220
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0046a150
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4d37de
cmp byte [ebp - 0x20], 0
je 0x4d37d5
push dword [ebp - 0x28]
push eax
call fcn.0049b220
mov eax, dword [ebp - 0x30]
push eax
call fcn.00524aa2
add esp, 4
cmp byte [ebp + 0x1508], 0
je 0x4d3802
cmp byte [0x590ac0], 0
jne 0x4d383f
cmp byte [0x590ac2], 0
jne 0x4d383f
cmp byte [0x597ebf], 0
jne 0x4d383f
lea eax, [ebp + 0x13c4]
mov ecx, 0x5909c0
push eax
call fcn.0049b1a0
push 0
push str.EncryptHeaders
push ebx
call fcn.004af130
push 0
test eax, eax
push str.ZipLegacyEncrypt
push ebx
setne byte [0x590ac2]
call fcn.004af130
test eax, eax
setne byte [0x597ebf]
push 0x100
lea eax, [ebp + 0x13c4]
push eax
call fcn.0049b220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x14f4]
xor ecx, ebp
call fcn.00507712
lea esp, [ebp + 0x14f8]
pop ebp
ret 0x10
call fcn.00507636
int3