Function at 0x436f50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov al, byte [esp + 0x44]
mov edx, dword [esp + 0x40]
mov esi, 0x38058961
mov byte [esp + 0x2b], al
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov edx, dword [0x4a8b10]
or edx, 0x44b1cf3b
mov dword [0x4a8b10], edx
mov edx, dword [0x492920]
xor edx, 0x11e3753f
mov edi, dword [0x49b6d4]
imul edi, edx
mov dword [0x49b6d4], edi
mov edx, dword [0x4922a8]
dec edx
mov dword [0x4922a8], edx
add edx, 0xa0eb98b3
cmp esi, edx
mov dword [esp + 0x10], ecx
jle 0x436ff9
mov ax, word [0x4aaeaa]
movsx ecx, ax
cmp ecx, 0x38eec5f0
jne 0x436fe5
mov eax, dword [0x495594]
imul eax, eax, 0x8c199c07
mov dword [0x495594], eax
jmp 0x436ff4
mov eax, dword [0x494cbc]
add eax, 0xdf35befe
mov dword [0x494cbc], eax
jmp 0x437052
mov eax, 0xa97ee1d8
mov ecx, dword [0x4a3670]
add ecx, 0xb04a24d8
mov edx, dword [0x4a26d4]
shl edx, 0xa
sub eax, edx
cmp ecx, eax
jge 0x43702c
mov dword [0x495b84], 0x80031009
jmp 0x43704d
mov eax, dword [0x49db50]
add eax, 0x901b323d
mov cx, word [0x4ab1e2]
mov dx, cx
imul edx, eax
mov cx, dx
mov word [0x4ab1e2], cx
jmp 0x437052
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x2020], eax
mov eax, dword [0x49bdc0]
mov edx, eax
dec edx
mov dword [0x49bdc0], edx
mov dword [0x4a8064], eax
mov ax, word [0x4b3c9a]
movsx ecx, ax
shl ecx, 8
xor ecx, 0x77c0ec04
mov edx, dword [0x4a38e0]
sub edx, ecx
mov dword [0x4a38e0], edx
call fcn.0040cdb0
mov dword [esp + 0x18], eax
mov si, word [0x4b3a0e]
mov ax, si
xor eax, 0xdd9f
mov si, ax
mov word [0x4b3a0e], si
cmp dword [esp + 0x18], 0
setne al
xor al, 0xff
test al, 1
jne 0x437073
mov ax, word [0x4ac2f0]
movsx ecx, ax
and ecx, 0xa0410008
mov edx, dword [0x4a61c0]
sub edx, ecx
mov dword [0x4a61c0], edx
call fcn.0040cdb0
mov dword [esp + 0x1c], eax
mov eax, dword [0x49e9b8]
mov ecx, eax
dec ecx
mov dword [0x49e9b8], ecx
or eax, 0xa24dc16b
mov ecx, dword [0x4a5a70]
imul ecx, eax
mov dword [0x4a5a70], ecx
mov bl, byte [esp + 0x2b]
mov byte [esp + 0x1c], bl
mov si, word [0x4b2f1e]
movsx eax, si
xor eax, 0xf4bbccfa
cmp eax, 0xf88da372
jge 0x437186
mov eax, dword [0x49a0bc]
sar eax, 0xa
and eax, 0x1cc6d35f
mov cx, word [0x4b5ab0]
movsx edx, cx
sar edx, 3
xor eax, edx
cmp eax, 0xb332adb9
je 0x437181
mov eax, dword [0x49f538]
mov ecx, dword [0x4a4808]
xor ecx, 0x47ad
or eax, ecx
mov dx, word [0x4b4ee2]
mov cx, dx
and ecx, eax
mov dx, cx
mov word [0x4b4ee2], dx
jmp 0x437186
mov eax, dword [esp + 0x18]
mov ecx, esp
mov dword [ecx], eax
call fcn.00429670
mov ecx, dword [esp + 0x1c]
xor ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [0x49ab70]
mov ecx, eax
inc ecx
mov dword [0x49ab70], ecx
mov ecx, dword [0x49ca58]
sub eax, ecx
mov ecx, dword [0x49d0b4]
sub ecx, eax
mov dword [0x49d0b4], ecx
mov eax, dword [0x491c88]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2020]
mov esi, esp
lea edi, [esp + 0x18]
mov dword [esi + 4], edi
mov dword [esi], edx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 8
call eax
sub esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x494730]
inc eax
mov dword [0x494730], eax
mov ecx, dword [0x493484]
dec ecx
mov dword [0x493484], ecx
add eax, ecx
mov bx, word [0x4b08f2]
mov cx, bx
add eax, ecx
mov bx, word [0x4ae8d8]
mov cx, bx
add ecx, eax
mov bx, cx
mov word [0x4ae8d8], bx
cmp dword [esp + 0x14], 8
je 0x437279
mov eax, dword [0x4a1e1c]
imul eax, eax, 0x91506a66
mov dword [0x4a1e1c], eax
mov ecx, dword [esp + 0x10]
call fcn.0040d460
mov eax, dword [0x4a8024]
not eax
add eax, 0xaf823711
mov ecx, dword [0x4a51e4]
sub ecx, eax
mov dword [0x4a51e4], ecx
mov dword [esp + 0x2c], 0xffffffff
jmp 0x4373e5
mov eax, dword [0x496a90]
xor eax, 0x5fff0be1
mov dword [0x496a90], eax
mov cl, byte [esp + 0x2b]
movzx eax, cl
mov edx, esp
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
call fcn.0044eb40
sub esp, 4
test al, 1
jne 0x4372ef
mov eax, dword [0x4938c0]
or eax, 0x84d4832f
mov ecx, dword [0x4a1c0c]
imul ecx, eax
mov dword [0x4a1c0c], ecx
mov ecx, dword [esp + 0x10]
call fcn.0040d460
mov dx, word [0x4b010c]
mov ax, dx
xor eax, 0x9962
mov dx, ax
mov word [0x4b010c], dx
mov dword [esp + 0x2c], 0xfffffffe
jmp 0x4373e5
mov ax, word [0x4b260a]
mov cx, ax
imul ecx, ecx, 0x9329fb95
mov ax, cx
mov word [0x4b260a], ax
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov ax, word [0x4ae5d0]
mov dx, ax
dec edx
mov ax, dx
mov word [0x4ae5d0], ax
movsx edx, ax
imul edx, edx, 0xb8af0cef
or edx, 0xa39f726d
mov dword [0x4a0dac], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov ax, word [0x4b5316]
mov dx, ax
and edx, 0x1e26
mov ax, dx
mov word [0x4b5316], ax
mov dword [ecx + 0x100c], 0
mov edx, dword [0x49d9cc]
mov esi, dword [0x4923ec]
and esi, edx
mov dword [0x4923ec], esi
mov edx, dword [ecx + 0x201c]
mov esi, dword [esp + 0x18]
mov edi, esp
mov dword [edi], esi
call edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1010], eax
mov bx, word [0x4b2bda]
movsx eax, bx
xor eax, 0xffffffff
cmp eax, 0x364ce459
je 0x4373c5
mov eax, dword [0x4a04f0]
and eax, 0x85914602
mov ecx, dword [0x496e14]
add ecx, eax
mov dword [0x496e14], ecx
jmp 0x4373dd
mov ax, word [0x4b3862]
mov cx, ax
add ecx, 0xa6700a90
mov ax, cx
mov word [0x4b3862], ax
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
add esp, 0x30
pop esi
pop edi
pop ebx
ret 8