Function at 0x41b7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov al, byte [esp + 0x48]
mov edx, dword [esp + 0x44]
mov byte [esp + 0x2b], al
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov edx, dword [0x49c6b8]
shl edx, 5
add edx, 0x5394b7e9
xor edx, 0xff59
mov si, word [0x48f6da]
mov di, si
or edi, edx
mov si, di
mov word [0x48f6da], si
mov edx, dword [0x49922c]
xor edx, 0xaace631d
cmp edx, 0xe1f780a6
mov dword [esp + 0x10], ecx
jl 0x41b866
mov eax, dword [0x49a700]
inc eax
mov dword [0x49a700], eax
or eax, 0x80100a0
mov ecx, dword [0x49959c]
imul ecx, eax
mov dword [0x49959c], ecx
jmp 0x41b870
mov dword [0x498908], 0xf3fe5c7f
mov eax, 0xa0344323
mov ecx, dword [0x497210]
mov edx, dword [0x49bca8]
imul edx, edx, 0x76f6fdcc
and ecx, edx
mov edx, dword [0x494dd8]
imul edx, ecx
mov dword [0x494dd8], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x2020], ecx
mov ecx, dword [0x4941b0]
mov esi, ecx
inc esi
mov dword [0x4941b0], esi
imul ecx, ecx, 0x317aeece
mov esi, dword [0x497644]
add ecx, esi
cmp eax, ecx
je 0x41b904
mov eax, 0xff941930
mov ecx, dword [0x499024]
xor ecx, 0x3655592b
mov dx, word [0x4928e2]
movsx esi, dx
sub eax, esi
cmp ecx, eax
jg 0x41b8ff
mov eax, dword [0x497768]
xor eax, 0x441983b0
mov dword [0x497768], eax
jmp 0x41b904
jmp 0x41b909
mov eax, dword [0x4990d0]
and eax, 0xbb74eb6e
mov dword [0x4990d0], eax
call fcn.00449190
mov dword [esp + 0x18], eax
mov eax, dword [0x495cac]
or eax, 0xd5157fc8
mov dword [0x495cac], eax
cmp dword [esp + 0x18], 0
setne al
xor al, 0xff
test al, 1
jne 0x41b909
mov ax, word [0x492d14]
movsx ecx, ax
and ecx, 0x886ac6b0
cmp ecx, 0xa4ba3ccb
jle 0x41b974
mov ax, word [0x493606]
movsx ecx, ax
mov edx, dword [0x49a250]
and edx, ecx
mov dword [0x49a250], edx
call fcn.00449190
mov dword [esp + 0x1c], eax
mov eax, dword [0x497620]
imul eax, eax, 0x49185170
mov dword [0x497620], eax
mov cl, byte [esp + 0x2b]
mov byte [esp + 0x1c], cl
mov eax, dword [0x49a660]
xor eax, 0xfed85ea4
mov dword [0x49a660], eax
mov eax, dword [esp + 0x18]
mov edx, esp
mov dword [edx], eax
call fcn.0040eb70
mov edx, dword [esp + 0x1c]
xor edx, eax
mov dword [esp + 0x1c], edx
mov dword [0x49be08], 0xd5f7cab4
mov eax, dword [0x48ee68]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x2020]
mov edi, esp
lea ebx, [esp + 0x18]
mov dword [edi + 4], ebx
mov dword [edi], esi
mov dword [edi + 0xc], 0
mov dword [edi + 8], 8
call eax
sub esp, 0x10
mov dword [esp + 0x14], eax
mov bp, word [0x4920d0]
mov ax, bp
or eax, 0x5c21
mov bp, ax
mov word [0x4920d0], bp
cmp dword [esp + 0x14], 8
je 0x41ba79
mov eax, dword [0x499ca4]
imul eax, eax, 0xb78b957d
mov cx, word [0x490a88]
mov dx, cx
xor edx, eax
mov cx, dx
mov word [0x490a88], cx
mov ecx, dword [esp + 0x10]
call fcn.00403400
mov eax, dword [0x4947dc]
inc eax
mov dword [0x4947dc], eax
mov ecx, dword [0x4968ac]
not ecx
and eax, ecx
and eax, 0x3b5f58fa
mov ecx, dword [0x497038]
add ecx, eax
mov dword [0x497038], ecx
mov dword [esp + 0x2c], 0xffffffff
jmp 0x41bbf8
mov eax, dword [0x4976dc]
mov ecx, eax
inc ecx
mov dword [0x4976dc], ecx
add eax, 0xa8b55c1e
or eax, 0x28b4fdee
mov dword [0x49ae38], eax
mov dl, byte [esp + 0x2b]
movzx eax, dl
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
call fcn.0042d310
sub esp, 4
test al, 1
jne 0x41baed
mov eax, dword [0x494250]
mov ecx, eax
dec ecx
mov dword [0x494250], ecx
mov dword [0x497a5c], eax
mov ecx, dword [esp + 0x10]
call fcn.00403400
mov eax, dword [0x498650]
add eax, 0x7a2c885b
mov dword [0x498650], eax
mov dword [esp + 0x2c], 0xfffffffe
jmp 0x41bbf8
mov eax, dword [0x49b2ec]
add eax, 0xc3445f26
mov dword [0x49b2ec], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov cx, word [0x48f77e]
movsx edx, cx
cmp edx, 0x4abc785d
je 0x41bb2b
mov eax, dword [0x49b6f4]
and eax, 0xf6666923
mov dword [0x49b6f4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [0x495628]
mov edx, eax
inc edx
mov dword [0x495628], edx
mov si, word [0x48fc9e]
movsx edx, si
sar edx, 7
imul eax, edx
cmp eax, 0xbfebc991
jle 0x41bb73
mov eax, dword [0x4965bc]
add eax, 0xe4788d3
mov dword [0x4965bc], eax
jmp 0x41bb82
mov eax, dword [0x495968]
or eax, 0xe15499c3
mov dword [0x495968], eax
mov eax, 0x22a90540
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x100c], 0
mov edx, dword [0x49baac]
inc edx
mov dword [0x49baac], edx
or edx, 0xac342fac
cmp eax, edx
je 0x41bbc8
mov ax, word [0x493390]
mov cx, ax
add ecx, 0xf77debed
mov ax, cx
mov word [0x493390], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x201c]
mov edx, dword [esp + 0x18]
mov esi, esp
mov dword [esi], edx
call ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1010], eax
mov dword [0x4971f4], 0x82031
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 8