Function at 0x300b540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x788
mov esi, esp
mov eax, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x370], 0x3040e80
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [0x30496f8]
mov cl, byte [esi + 0x7c]
mov byte [esi + 0x80], cl
mov byte [esi + 0x90], 0x2d
mov byte [esi + 0x91], 0x99
mov byte [esi + 0x92], 0xd
mov byte [esi + 0x93], 0x9b
mov byte [esi + 0x94], 0x1e
mov byte [esi + 0x95], 0x85
mov byte [esi + 0x96], 0x2f
mov byte [esi + 0x97], 0x87
mov byte [esi + 0x98], 0x14
mov byte [esi + 0x99], 0x81
mov byte [esi + 0x9a], 0x16
mov byte [esi + 0x9b], 0x83
mov byte [esi + 0x9c], 0x2d
mov byte [esi + 0x9d], 0x8d
mov byte [esi + 0x9e], 0x59
mov byte [esi + 0x9f], 0x8f
mov byte [esi + 0xa0], 0x55
mov byte [esi + 0xa1], 0x89
mov byte [esi + 0xa2], 0x5c
mov byte [esi + 0xa3], 0x8b
mov byte [esi + 0xa4], 0xa4
mov byte [esi + 0xa5], 0x75
mov byte [esi + 0xa6], 0x96
mov byte [esi + 0xa7], 0x77
mov byte [esi + 0xa8], 0x98
mov byte [esi + 0xa9], 0x71
mov byte [esi + 0xaa], 0xcd
mov byte [esi + 0xab], 0x73
mov byte [esi + 0xac], 0xd5
mov byte [esi + 0xad], 0x7d
mov byte [esi + 0xae], 0xe8
mov byte [esi + 0xaf], 0x7f
mov byte [esi + 0xb0], 0xd4
mov byte [esi + 0xb1], 0x79
mov byte [esi + 0xb2], 0xed
mov byte [esi + 0xb3], 0x7b
mov byte [esi + 0xb4], 0xfb
mov byte [esi + 0xb5], 0x65
mov byte [esi + 0xb6], 0xf5
mov byte [esi + 0xb7], 0x67
mov byte [esi + 0xb8], 0x80
mov byte [esi + 0xb9], 0x61
mov byte [esi + 0xba], 0xd4
mov byte [esi + 0xbb], 0x63
mov byte [esi + 0xbc], 0xd0
mov byte [esi + 0xbd], 0x6d
mov byte [esi + 0xbe], 0x8e
mov byte [esi + 0xbf], 0x6f
mov byte [esi + 0xc0], 0xb9
mov byte [esi + 0xc1], 0x69
mov byte [esi + 0xc2], 0xba
mov byte [esi + 0xc3], 0x6b
mov byte [esi + 0xc4], 0x82
mov byte [esi + 0xc5], 0x55
mov byte [esi + 0xc6], 0x86
mov byte [esi + 0xc7], 0x57
mov byte [esi + 0xc8], 0x8b
mov byte [esi + 0xc9], 0x51
mov byte [esi + 0xca], 0xb2
mov byte [esi + 0xcb], 0x53
mov byte [esi + 0xcc], 0xe3
mov byte [esi + 0xcd], 0x5d
mov byte [esi + 0xce], 0xf7
mov byte [esi + 0xcf], 0x5f
mov byte [esi + 0xd0], 0xce
mov byte [esi + 0xd1], 0x59
mov byte [esi + 0xd2], 0x84
mov byte [esi + 0xd3], 0x5b
mov byte [esi + 0xd4], 0x98
mov byte [esi + 0xd5], 0x45
mov byte [esi + 0xd6], 0x9d
mov byte [esi + 0xd7], 0x47
mov byte [esi + 0xd8], 0xa0
mov byte [esi + 0xd9], 0x41
mov byte [esi + 0xda], 0xda
mov byte [esi + 0xdb], 0x43
mov byte [esi + 0xdc], 0x92
mov byte [esi + 0xdd], 0x4d
mov byte [esi + 0xde], 0x92
mov byte [esi + 0xdf], 0x4f
mov byte [esi + 0xe0], 0xa1
mov byte [esi + 0xe1], 0x49
mov byte [esi + 0xe2], 0xaa
mov byte [esi + 0xe3], 0x4b
mov byte [esi + 0xe4], 0xf5
mov byte [esi + 0xe5], 0x35
mov byte [esi + 0xe6], 0xa6
mov byte [esi + 0xe7], 0x37
mov byte [esi + 0xe8], 0xa0
mov byte [esi + 0xe9], 0x31
mov byte [esi + 0xea], 0xa6
mov byte [esi + 0xeb], 0x33
mov byte [esi + 0xec], 0x91
mov byte [esi + 0xed], 0x3d
mov byte [esi + 0xee], 0x81
mov byte [esi + 0xef], 0x3f
mov byte [esi + 0xf0], 0x95
mov byte [esi + 0xf1], 0x39
mov byte [esi + 0xf2], 0x98
mov byte [esi + 0xf3], 0x3b
mov byte [esi + 0xf4], 0xef
mov byte [esi + 0xf5], 0x25
mov byte [esi + 0xf6], 0x8f
mov byte [esi + 0xf7], 0x27
mov byte [esi + 0xf8], 0xbc
mov byte [esi + 0xf9], 0x21
mov byte [esi + 0xfa], 0xf5
mov byte [esi + 0xfb], 0x23
mov byte [esi + 0xfc], 0xf1
mov byte [esi + 0xfd], 0x2d
mov byte [esi + 0xfe], 0xfd
mov byte [esi + 0xff], 0x2f
mov byte [esi + 0x100], 0xf7
mov byte [esi + 0x101], 0x29
mov byte [esi + 0x102], 0xfc
mov byte [esi + 0x103], 0x2b
mov byte [esi + 0x104], 0xc7
mov byte [esi + 0x105], 0x15
mov byte [esi + 0x106], 0xc8
mov byte [esi + 0x107], 0x17
mov byte [esi + 0x108], 0xf0
mov byte [esi + 0x109], 0x11
mov byte [esi + 0x10a], 0xfa
mov byte [esi + 0x10b], 0x13
mov byte [esi + 0x10c], 0xd7
mov byte [esi + 0x10d], 0x1d
mov byte [esi + 0x10e], 0xd6
mov byte [esi + 0x10f], 0x1f
mov byte [esi + 0x110], 0xa4
mov byte [esi + 0x111], 0x19
mov byte [esi + 0x112], 0xaf
mov byte [esi + 0x113], 0x1b
mov byte [esi + 0x114], 0xb0
mov byte [esi + 0x115], 5
mov byte [esi + 0x116], 0xd2
mov byte [esi + 0x117], 7
mov byte [esi + 0x118], 0xe0
mov byte [esi + 0x119], 1
mov byte [esi + 0x11a], 0x96
mov byte [esi + 0x11b], 3
mov byte [esi + 0x11c], 0xa5
mov byte [esi + 0x11d], 0xd
mov byte [esi + 0x11e], 0xa5
mov byte [esi + 0x11f], 0xf
mov byte [esi + 0x120], 0xa5
mov byte [esi + 0x121], 9
mov byte [esi + 0x122], 0xea
mov byte [esi + 0x123], 0xb
mov byte [esi + 0x124], 0x3b
mov byte [esi + 0x125], 0xf5
mov byte [esi + 0x126], 0x5b
mov byte [esi + 0x127], 0xf7
mov byte [esi + 0x128], 0x53
mov byte [esi + 0x129], 0xf1
mov byte [esi + 0x12a], 0x59
mov byte [esi + 0x12b], 0xf3
mov byte [esi + 0x12c], 0x6b
mov byte [esi + 0x12d], 0xfd
mov byte [esi + 0x12e], 0x17
mov byte [esi + 0x12f], 0xff
mov byte [esi + 0x130], 0x18
mov byte [esi + 0x131], 0xf9
mov byte [esi + 0x132], 0x39
mov byte [esi + 0x133], 0xfb
mov byte [esi + 0x134], 0x4c
mov byte [esi + 0x135], 0xe5
mov byte [esi + 0x136], 0x74
mov byte [esi + 0x137], 0xe7
mov byte [esi + 0x138], 0x77
mov byte [esi + 0x139], 0xe1
mov byte [esi + 0x13a], 0x77
mov byte [esi + 0x13b], 0xe3
mov byte [esi + 0x13c], 0x41
mov byte [esi + 0x13d], 0xed
mov byte [esi + 0x13e], 0x39
mov byte [esi + 0x13f], 0xef
mov byte [esi + 0x140], 0x39
mov byte [esi + 0x141], 0xe9
mov byte [esi + 0x142], 0x3b
mov byte [esi + 0x143], 0xeb
mov byte [esi + 0x144], 0xd
mov byte [esi + 0x145], 0xd5
mov byte [esi + 0x146], 0
mov byte [esi + 0x147], 0xd7
mov byte [esi + 0x148], 0
mov byte [esi + 0x149], 0xd1
mov byte [esi + 0x14a], 4
mov byte [esi + 0x14b], 0xd3
mov byte [esi + 0x14c], 0xc
mov byte [esi + 0x14d], 0xdd
mov byte [esi + 0x14e], 8
mov byte [esi + 0x14f], 0xdf
mov byte [esi + 0x150], 8
mov byte [esi + 0x151], 0xd9
mov byte [esi + 0x152], 0x3a
mov byte [esi + 0x153], 0xdb
mov byte [esi + 0x154], 0x77
mov byte [esi + 0x155], 0xc5
mov byte [esi + 0x156], 0x67
mov byte [esi + 0x157], 0xc7
mov byte [esi + 0x158], 0x6e
mov byte [esi + 0x159], 0xc1
mov byte [esi + 0x15a], 0x63
mov byte [esi + 0x15b], 0xc3
mov byte [esi + 0x15c], 0x5e
mov byte [esi + 0x15d], 0xcd
mov byte [esi + 0x15e], 0x67
mov byte [esi + 0x15f], 0xcf
mov byte [esi + 0x160], 0x1f
mov byte [esi + 0x161], 0xc9
mov byte [esi + 0x162], 0x17
mov byte [esi + 0x163], 0xcb
mov byte [esi + 0x164], 0x67
mov byte [esi + 0x165], 0xb5
mov byte [esi + 0x166], 0x69
mov byte [esi + 0x167], 0xb7
mov byte [esi + 0x168], 0x66
mov byte [esi + 0x169], 0xb1
mov byte [esi + 0x16a], 0x61
mov byte [esi + 0x16b], 0xb3
mov byte [esi + 0x16c], 0x62
mov byte [esi + 0x16d], 0xbd
mov byte [esi + 0x16e], 0xbe
mov byte [esi + 0x16f], 0xbf
mov dword [esi + 0x170], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe4
jae 0x300bc38
jmp 0x300bbc9
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edi, byte [esi + edx + 0x90]
mov ebx, ecx
add ebx, 0x202b73ec
lea edx, [ecx + edi + 0x202b73ec]
add ecx, 0xec
and ecx, edi
and ebx, edi
add ecx, ebx
mov edi, ecx
xor edi, edx
not ecx
and edx, ecx
add edx, edx
sub edx, edi
mov dword [esi + 0x374], edx
mov ecx, dword [esi + 0x374]
mov edx, ecx
xor edx, 0x8b
and ecx, 0xb
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x90], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe4
jb 0x300bbc9
jmp 0x300bc38
sub esp, 0x14
lea ecx, [esi + 0x90]
mov dword [esp], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x36c], ecx
mov eax, dword [esi + 0x370]
mov ecx, dword [esi + 0x36c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x3040e88]
xor ecx, 0xddb879e9
sub eax, ecx
mov dword [esi + 0x1cc], eax
push eax
mov eax, esp
mov dword [esi + 0x1d0], eax
mov dword [eax], 0x3040e8c
push eax
mov dword [esi + 0x1c8], esp
push eax
mov eax, esp
mov dword [esi + 0x1d4], eax
mov dword [eax], 0x3040e98
push eax
mov dword [esi + 0x1dc], esp
push eax
mov eax, esp
mov dword [esi + 0x1e0], eax
mov dword [eax], 0x3040ea4
push eax
mov dword [esi + 0x1d8], esp
push eax
mov eax, esp
mov dword [esi + 0x1ec], eax
mov dword [eax], 0x3040eb0
push eax
mov dword [esi + 0x1e4], esp
push eax
mov eax, esp
mov dword [esi + 0x1f0], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040ebc]
mov dword [esi + 0x1e8], eax
push eax
mov eax, esp
mov dword [esi + 0x1f8], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040ec4]
mov dword [esi + 0x1f4], eax
push eax
mov eax, esp
mov dword [esi + 0x204], eax
mov dword [eax], 0x3040ecc
push eax
mov dword [esi + 0x1fc], esp
push eax
mov eax, esp
mov dword [esi + 0x208], eax
mov dword [eax], 0x3040ed8
push eax
mov dword [esi + 0x200], esp
push eax
mov eax, esp
mov dword [esi + 0x228], eax
mov dword [eax], 0x3040ee4
push eax
mov dword [esi + 0x224], esp
push eax
mov eax, esp
mov dword [esi + 0x220], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040ef0]
mov dword [esi + 0x21c], eax
push eax
mov eax, esp
mov dword [esi + 0x17c], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040ef8]
mov dword [esi + 0x178], eax
push eax
mov eax, esp
mov dword [esi + 0x238], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f00]
mov dword [esi + 0x234], eax
push eax
mov eax, esp
mov dword [esi + 0x240], eax
mov dword [eax], 0x3040f08
push eax
mov dword [esi + 0x23c], esp
push eax
mov eax, esp
mov dword [esi + 0x24c], eax
mov dword [eax], 0x3040f14
push eax
mov dword [esi + 0x244], esp
push eax
mov eax, esp
mov dword [esi + 0x250], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f20]
mov dword [esi + 0x248], eax
push eax
mov eax, esp
mov dword [esi + 0x2fc], eax
mov dword [eax], 0x3040f28
push eax
mov dword [esi + 0x2f4], esp
push eax
mov eax, esp
mov dword [esi + 0x188], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f34]
mov dword [esi + 0x2ec], eax
push eax
mov eax, esp
mov dword [esi + 0x2e8], eax
mov dword [eax], 0x3040f3c
push eax
mov dword [esi + 0x2dc], esp
push eax
mov eax, esp
mov dword [esi + 0x2d8], eax
mov dword [eax], 0x3040f48
push eax
mov dword [esi + 0x2cc], esp
push eax
mov eax, esp
mov dword [esi + 0x2c8], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f54]
mov dword [esi + 0x2bc], eax
push eax
mov eax, esp
mov dword [esi + 0x2b0], eax
mov dword [eax], 0x3040f5c
push eax
mov dword [esi + 0x2a4], esp
push eax
mov eax, esp
mov dword [esi + 0x2a0], eax
mov dword [eax], 0x3040f68
push eax
mov dword [esi + 0x29c], esp
push eax
mov eax, esp
mov dword [esi + 0x294], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f74]
mov dword [esi + 0x288], eax
push eax
mov eax, esp
mov dword [esi + 0x184], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f7c]
mov dword [esi + 0x180], eax
push eax
mov eax, esp
mov dword [esi + 0x278], eax
mov dword [eax], 0x3040f84
push eax
mov dword [esi + 0x274], esp
push eax
mov eax, esp
mov dword [esi + 0x268], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040f90]
mov dword [esi + 0x260], eax
push eax
mov eax, esp
mov dword [esi + 0x264], eax
mov dword [eax], 0x3040f98
push eax
mov dword [esi + 0x25c], esp
push eax
mov eax, esp
mov dword [esi + 0x298], eax
mov dword [eax], 0x3040fa4
push eax
mov dword [esi + 0x284], esp
push eax
mov eax, esp
mov dword [esi + 0x28c], eax
mov dword [eax], 0x3040fb0
push eax
mov dword [esi + 0x27c], esp
push eax
mov eax, esp
mov dword [esi + 0x290], eax
mov dword [eax], 0x3040fbc
push eax
mov dword [esi + 0x280], esp
push eax
mov eax, esp
mov dword [esi + 0x2c4], eax
mov dword [eax], 0x3040fc8
push eax
mov dword [esi + 0x2b8], esp
push eax
mov eax, esp
mov dword [esi + 0x2ac], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040fd4]
mov dword [esi + 0x2a8], eax
push eax
mov eax, esp
mov dword [esi + 0x2c0], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040fdc]
mov dword [esi + 0x2b4], eax
push eax
mov eax, esp
mov dword [esi + 0x2d4], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040fe4]
mov dword [esi + 0x2d0], eax
push eax
mov eax, esp
mov dword [esi + 0x2e4], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040fec]
mov dword [esi + 0x2e0], eax
push eax
mov eax, esp
mov dword [esi + 0x64], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3040ff4]
mov dword [esi + 0x60], eax
push eax
mov eax, esp
mov dword [esi + 0x2f8], eax
mov dword [eax], 0x3040ffc
push eax
mov dword [esi + 0x2f0], esp
push eax
mov ecx, esp
mov dword [esi + 0x318], ecx
mov dword [ecx], 0x3041008
push eax
mov dword [esi + 0x308], esp
push eax
mov ecx, esp
mov dword [esi + 0x304], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x3041014]
mov dword [esi + 0x300], ecx
push eax
mov ecx, esp
mov dword [esi + 0x314], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x304101c]
mov dword [esi + 0x30c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x324], ecx
mov dword [ecx], 0x3041024
push eax
mov dword [esi + 0x31c], esp
push eax
mov ecx, esp
mov dword [esi + 0x32c], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x3041030]
mov dword [esi + 0x328], ecx
push eax
mov ecx, esp
mov dword [esi + 0x320], ecx
mov dword [ecx], 0x3041038
push eax
mov dword [esi + 0x310], esp
push eax
mov ecx, esp
mov dword [esi + 0x18c], ecx
mov dword [ecx], 0x3041044
push eax
mov dword [esi + 0x338], esp
push eax
mov ecx, esp
mov dword [esi + 0x340], ecx
mov dword [ecx], 0x3041050
push eax
mov dword [esi + 0x330], esp
push eax
mov ecx, esp
mov dword [esi + 0x348], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x304105c]
mov dword [esi + 0x344], ecx
push eax
mov ecx, esp
mov dword [esi + 0x350], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x3041064]
mov dword [esi + 0x34c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x35c], ecx
mov dword [ecx], 0x304106c
push eax
mov dword [esi + 0x354], esp
push eax
mov ecx, esp
mov dword [esi + 0x360], ecx
mov dword [ecx], 0x3041078
push eax
mov dword [esi + 0x358], esp
push eax
mov ecx, esp
mov dword [esi + 0x194], ecx
mov dword [ecx], 0x3041084
push eax
mov dword [esi + 0x190], esp
push eax
mov ecx, esp
mov dword [esi + 0x368], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x3041090]
mov dword [esi + 0x364], ecx
push eax
mov eax, esp
mov dword [esi + 0x1bc], eax
mov dword [eax], 0x3040bf0
mov eax, dword [0x3041098]
mov dword [esi + 0x1b8], eax
push eax
mov edx, esp
mov dword [edx], 0x3040bf0
mov eax, dword [0x30410a0]
mov dword [esi + 0x1c0], eax
push eax
mov edi, esp
mov dword [edi], 0x3040bf0
mov eax, dword [0x30410a8]
mov dword [esi + 0x20c], eax
push eax
mov ebx, esp
mov dword [ebx], 0x3040bf0
mov eax, dword [0x30410b0]
mov dword [esi + 0x214], eax
push eax
mov eax, esp
mov dword [eax], 0x3040bf0
mov ecx, dword [0x30410b8]
mov dword [esi + 0x22c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x258], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x30410c0]
mov dword [esi + 0x254], ecx
push eax
mov ecx, esp
mov dword [esi + 0x270], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x30410c8]
mov dword [esi + 0x26c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x33c], ecx
mov dword [ecx], 0x3040bf0
mov ecx, dword [0x30410d0]
mov dword [esi + 0x334], ecx
jmp dword [esi + 0x1cc]