Function at 0x4b9650
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x130
mov eax, dword [0x4dc00c]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
mov bh, 0x2f
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
mov cl, 0x16
mov ch, 0x19
mov byte [esp + 0xc], 0
mov dl, 0x68
mov byte [esp + 4], bh
xor cl, bh
mov byte [esp + 0xc], 0
xor ch, bh
mov byte [esp + 6], cl
mov al, 0x44
mov byte [esp + 0xa], ch
mov bl, 0x6c
mov dword [esp + 0x110], 0
mov ah, 0x65
mov dword [esp + 0x114], 0
mov dh, 0x1d
lea ecx, [esp + 5]
xor dl, bh
xor al, bh
push ebp
xor bl, bh
mov byte [esp + 0xb], dl
xor ah, bh
mov byte [esp + 9], al
xor dh, bh
mov byte [esp + 0xc], bl
push esi
xorps xmm0, xmm0
mov byte [esp + 0x13], dh
push edi
mov byte [esp + 0x15], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0x10c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b96e0
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x114]
call fcn.004b8860
mov bh, 0x28
mov byte [esp + 0x18], 0
mov cl, 0x41
mov byte [esp + 0x10], bh
mov ch, 0x6a
mov byte [esp + 0x18], 0
mov dl, 0x10
mov dword [esp + 0xec], 0
xor cl, bh
mov dword [esp + 0xf0], 0
xor ch, bh
mov byte [esp + 0x12], cl
mov al, 0x5a
mov byte [esp + 0x16], ch
mov bl, 0x45
lea ecx, [esp + 0x11]
mov ah, 0x69
mov dh, 0x4a
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x13], dl
xor ah, bh
mov byte [esp + 0x11], al
xor dh, bh
mov byte [esp + 0x14], bl
xorps xmm0, xmm0
mov byte [esp + 0x17], dh
mov byte [esp + 0x15], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0xdc], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b9770
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xe4]
call fcn.004b8860
mov byte [esp + 0x10], 0x35
mov al, 0x5c
xor al, byte [esp + 0x10]
mov dh, 0xd
mov byte [esp + 0x11], al
mov ah, 0x72
mov al, byte [esp + 0x10]
mov bh, dh
xor ah, al
mov byte [esp + 0x19], 0
mov cl, 0x5d
mov byte [esp + 0x15], ah
mov dl, 0x5f
mov byte [esp + 0x19], 0
mov ch, 0x63
xor cl, al
xor ch, al
mov byte [esp + 0x12], cl
mov bl, 0x41
mov byte [esp + 0x16], ch
xor dl, al
lea ecx, [esp + 0xdc]
xor bl, al
mov byte [esp + 0x13], dl
xor dh, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x17], dh
lea eax, [esp + 0x11]
mov byte [esp + 0x18], bh
push eax
call fcn.004b7600
mov byte [esp + 0x10], 0x35
mov al, 0x5e
xor al, byte [esp + 0x10]
mov dh, 0x7f
mov dl, 0x78
mov byte [esp + 0x11], al
mov al, byte [esp + 0x10]
mov bh, dh
xor dl, al
mov byte [esp + 0x19], 0
xor dh, al
mov byte [esp + 0x13], dl
mov cl, 0x47
mov byte [esp + 0x17], dh
mov ch, 3
mov byte [esp + 0x19], 0
mov bl, 0x5f
lea edx, [esp + 0x11]
mov ah, 6
xor cl, al
xor ch, al
mov byte [esp + 0x12], cl
xor bl, al
mov byte [esp + 0x16], ch
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
mov byte [esp + 0x18], bh
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b9850
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x11]
mov esi, dword [esp + 0xdc]
sub edx, ecx
push edx
mov edx, dword [esp + 0xf0]
lea ecx, [esp + 0xe0]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.004b8ef0
add esp, 8
test al, al
je 0x4b98ec
mov dh, 0x27
mov byte [esp + 0x17], 0
mov al, 0x6e
mov byte [esp + 0x10], dh
mov cl, 0x76
mov byte [esp + 0x17], 0
mov ah, 0x44
mov bl, cl
xor al, dh
xor ah, dh
mov ch, 0x5e
mov byte [esp + 0x11], al
xor cl, dh
mov byte [esp + 0x15], ah
xor ch, dh
mov byte [esp + 0x12], cl
mov dl, 0x68
mov byte [esp + 0x16], ch
lea eax, [esp + 0x11]
xor dl, dh
xor bl, dh
mov byte [esp + 0x13], dl
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x18], bl
call fcn.004b7600
mov edi, dword [esp + 0xf0]
mov esi, dword [esp + 0xdc]
cmp edi, 0x10
jb 0x4b9918
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4b990e
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9964
push ecx
push esi
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x120]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0xf
mov byte [esp + 0xdc], 0
cmp ecx, 0x10
jb 0x4b9974
mov edx, dword [esp + 0x10c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b996a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b996a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
movaps xmm0, xmmword [0x4d70a0]
xor ecx, ecx
movups xmmword [esp + 0x50], xmm0
mov byte [esp + 0xd0], 0
movaps xmm0, xmmword [0x4d6d40]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x4d7930]
movups xmmword [esp + 0x70], xmm0
movaps xmm0, xmmword [0x4d8fa0]
movups xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [0x4d8fc0]
movups xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [0x4d8f80]
movups xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [0x4d8f90]
movups xmmword [esp + 0xb0], xmm0
movaps xmm0, xmmword [0x4d8f50]
movups xmmword [esp + 0xc0], xmm0
nop dword [eax]
mov al, byte [esp + 0x50]
xor byte [esp + ecx + 0x51], al
inc ecx
cmp ecx, 0x7f
jb 0x4b99f0
xorps xmm0, xmm0
mov byte [esp + 0xd0], 0
lea ecx, [esp + 0x51]
mov dword [esp + 0x134], 0
movups xmmword [esp + 0x124], xmm0
mov dword [esp + 0x138], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b9a30
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x12c]
call fcn.004b8860
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
xor ebx, ebx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x4b9efa
nop
mov dword [esp + 0x48], 0
xor esi, esi
nop word [eax + eax]
mov dword [esp + 0x11c], 0
xorps xmm0, xmm0
mov dword [esp + 0x120], 0
movups xmmword [esp + 0x10c], xmm0
cmp eax, ebx
jb 0x4b9fde
sub eax, ebx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [esp + 0x164], 0x10
lea eax, [esp + 0x150]
cmovae eax, dword [esp + 0x150]
push ecx
add eax, ebx
lea ecx, [esp + 0x110]
push eax
call fcn.004b8860
mov eax, dword [esp + 0x134]
xorps xmm0, xmm0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
movups xmmword [esp + 0xf4], xmm0
cmp eax, esi
jb 0x4b9fde
sub eax, esi
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [esp + 0x138], 0x10
lea eax, [esp + 0x124]
cmovae eax, dword [esp + 0x124]
push ecx
add eax, esi
lea ecx, [esp + 0xf8]
push eax
call fcn.004b8860
mov ebp, dword [esp + 0x120]
lea eax, [esp + 0x10c]
mov ebx, dword [esp + 0x10c]
lea ecx, [esp + 0xf4]
push dword [esp + 0x11c]
mov edi, dword [esp + 0xf8]
cmp ebp, 0x10
mov edx, dword [esp + 0x108]
cmovae eax, ebx
cmp dword [esp + 0x10c], 0x10
push eax
cmovae ecx, edi
call fcn.004b8ef0
mov byte [esp + 0x27], al
add esp, 8
mov eax, dword [esp + 0x108]
cmp eax, 0x10
jb 0x4b9bc5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4b9bbb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9f86
push ecx
push edi
call fcn.004cc05d
add esp, 8
cmp ebp, 0x10
jb 0x4b9bf5
lea ecx, [ebp + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4b9beb
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9f86
push ecx
push ebx
call fcn.004cc05d
add esp, 8
cmp byte [esp + 0x1f], 0
jne 0x4b9c1e
inc esi
cmp esi, 0x80
jge 0x4b9c15
mov eax, dword [esp + 0x160]
mov ebx, dword [esp + 0x38]
jmp 0x4b9a80
mov ebx, dword [esp + 0x48]
jmp 0x4b9e63
mov cl, 0x64
mov dword [esp + 0xdc], 0x56532a64
mov dword [esp + 0xe0], 0xd0d123e
xor eax, eax
mov dword [esp + 0xe4], 0x1c0d323e
mov byte [esp + 0xe8], 0
nop dword [eax + eax]
xor byte [esp + eax + 0xdd], cl
inc eax
cmp eax, 0xb
jae 0x4b9c66
mov cl, byte [esp + 0xdc]
jmp 0x4b9c50
xorps xmm0, xmm0
mov byte [esp + 0xe8], 0
lea ecx, [esp + 0xdd]
mov dword [esp + 0x104], 0
movups xmmword [esp + 0xf4], xmm0
mov dword [esp + 0x108], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b9ca0
sub ecx, edx
lea eax, [esp + 0xdd]
push ecx
push eax
lea ecx, [esp + 0xfc]
call fcn.004b8860
mov byte [esp + 0x20], 0xe
mov al, 0x3f
xor al, byte [esp + 0x20]
mov ch, 0x3e
mov byte [esp + 0x21], al
mov dh, 0x4d
mov al, byte [esp + 0x20]
mov bh, ch
xor ch, al
mov byte [esp + 0x1f], dh
xor dh, al
mov byte [esp + 0x26], ch
xor bh, al
mov byte [esp + 0x2a], 0
mov cl, 0x6f
mov byte [esp + 0x27], dh
xor cl, al
mov byte [esp + 0x28], bh
mov dl, 0x78
mov byte [esp + 0x22], cl
xor dl, al
mov byte [esp + 0x2a], 0
mov ah, 0x6b
mov byte [esp + 0x23], dl
xor ah, al
lea ecx, [esp + 0xf4]
mov bl, 0x40
mov byte [esp + 0x25], ah
xor bl, al
mov al, byte [esp + 0x1f]
xor al, byte [esp + 0x20]
mov byte [esp + 0x29], al
lea eax, [esp + 0x21]
push eax
mov byte [esp + 0x28], bl
call fcn.004b7600
mov dh, 0x76
mov byte [esp + 0x17], 0
mov bl, 3
mov byte [esp + 0x10], dh
mov dl, 0x39
mov byte [esp + 0x17], 0
mov cl, 0x47
mov ah, bl
xor cl, dh
xor dl, dh
mov al, 0x20
mov byte [esp + 0x13], dl
mov ch, 0x3a
mov byte [esp + 0x12], cl
xor al, dh
xor bl, dh
xor ah, dh
mov byte [esp + 0x11], al
xor ch, dh
mov byte [esp + 0x14], bl
lea edx, [esp + 0x11]
mov byte [esp + 0x16], ch
mov byte [esp + 0x15], ah
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4b9d80
mov ebx, dword [esp + 0x108]
lea eax, [esp + 0x11]
mov edi, dword [esp + 0xf4]
sub edx, ecx
push edx
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0xf8]
cmp ebx, 0x10
push eax
cmovae ecx, edi
call fcn.004b8ef0
add esp, 8
test al, al
je 0x4b9e31
mov byte [esp + 0x2c], 0x7a
mov al, 0x34
xor al, byte [esp + 0x2c]
mov ah, 0x2b
mov byte [esp + 0x2d], al
mov cl, 0x4b
mov al, byte [esp + 0x2c]
mov dl, 0x20
xor ah, al
mov byte [esp + 0x35], 0
mov ch, 0x1b
mov byte [esp + 0x31], ah
mov dh, 0x2c
mov byte [esp + 0x35], 0
xor cl, al
xor ch, al
mov bl, 3
mov byte [esp + 0x2e], cl
mov bh, 0x31
mov byte [esp + 0x32], ch
xor dl, al
lea ecx, [esp + 0xf4]
xor bl, al
mov byte [esp + 0x2f], dl
xor dh, al
mov byte [esp + 0x30], bl
xor bh, al
mov byte [esp + 0x33], dh
lea eax, [esp + 0x2d]
mov byte [esp + 0x34], bh
push eax
call fcn.004b7600
mov ebx, dword [esp + 0x108]
mov edi, dword [esp + 0xf4]
cmp ebx, 0x10
jb 0x4b9e61
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4b9e57
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9964
push ecx
push edi
call fcn.004cc05d
add esp, 8
mov ebx, esi
mov eax, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
sub eax, edx
sar eax, 4
cmp eax, ebx
jbe 0x4b9fd9
mov esi, dword [esp + 0x40]
add ebx, ebx
mov edi, dword [esp + 0x44]
movzx eax, byte [edx + ebx*8]
movzx ecx, byte [edx + ebx*8 + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + ebx*8 + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + ebx*8 + 0xc]
mov ebx, dword [esp + 0x3c]
shl ecx, 8
or ecx, eax
push ecx
push esi
push ebx
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapSetPixel]
test eax, eax
je 0x4b9ec1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x4c]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x38]
xor ebp, ebp
inc ebx
mov dword [esp + 0x38], ebx
movsx ecx, byte [eax]
lea eax, [esi + 1]
cmp edx, ecx
cmovne eax, esi
cmovne ebp, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x3c], ebp
cmp ebx, eax
jb 0x4b9a70
jmp 0x4b9efe
mov edi, dword [esp + 0x44]
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0x42c80000
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapSetResolution]
test eax, eax
je 0x4b9f20
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x138]
cmp ecx, 0x10
jb 0x4b9f58
mov edx, dword [esp + 0x124]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b9f4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9f86
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x164]
cmp ecx, 0x10
jb 0x4b9f96
mov edx, dword [esp + 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b9f8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b9f8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
lea ecx, [esp + 0x144]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0xf
mov byte [esp + 0x150], 0
call fcn.004c1a70
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cbdc9
add esp, 0x130
ret
call fcn.004c1a60
call fcn.004b8180
int3