Function at 0x1009da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x10160004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x8c], 0
xor eax, eax
mov word [ebp - 0xa4], ax
xor ecx, ecx
mov word [ebp - 0x90], cx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x98], 0
mov ecx, 0x19
mov esi, str.115Rduc134gG2v1C5vu412UtXD22n2u31o5gk32hSB5u662b65cU5TdeuRJb6e67h1r7OR1mMl50vG2ac2rr4320c4V1n77GX40
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x75], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0x713
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xa8], 0x1009d900
mov edx, dword [ebp + 0xc]
push edx
call fcn.10103514
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
push str.bX2lf06Uf3Tb51VQL006J1je7td5wenkJDQl63dK1NNGPvVMac6qi52j7UiXVHL2Q2jC1SS01AAGfvmA3N3V4r2T1j0PR3qkqelCtlj0O2GxPu435Oq7Q6bPB7OokMmbr6E736KQitM613V6wEBL302jG6qhBm0gu16i75aiw3ObmL56T07V0rJPRHPJRrS4NnUeJ2Iq67mTG14EGkRb3O7l72K0LXu0tcgHiSWK0qrh3R15IEiCIJ6qUWmsVutF1454ClSt3IP3P6nvjcg0Lno360ePu3JIeKlHWEHLHgG21Au
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xa0]
push eax
push 0x12f
movzx ecx, word [ebp - 0x90]
push ecx
movzx edx, word [ebp - 0x90]
push edx
call fcn.10007880
add esp, 0x1c
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x70], 0x329
mov dword [ebp - 0x84], 0
imul ecx, dword [ebp - 0x74], 0x3aa
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x74]
sub edx, 0x3a2
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x75], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xac]
mov dword [ebp - 0x8c], eax
imul ecx, dword [ebp - 0x74], 0x20e
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x74]
add edx, 0x36d
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x74]
xor eax, 0x1f6
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x88], ecx
push 1
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x75]
push eax
call fcn.101016f0
add esp, 0xc
push 1
lea ecx, [ebp - 0x75]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x74]
xor eax, 0xbf
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x74]
xor ecx, 0x1aa
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0xc]
jl 0x1009dbc0
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x88], str.CjsD2sbNpj1xom6f1FjM2k7STj6O3X7J7ngBWI6Ve4r1sOFE7kN2p74T6b7xlOxamQdI2KqH04u1BW147xNDaurf7aOa7ThUb00aEp47SlDDbCEm54541K7iV3SPIk0ImAat2cenvR6M3773dstMD5g52iE73bHGB3JjO7G3eE4VlG3L7h0uQ0tTtfnExn24rdTCn3L7bh0RWj5sDJKx74Q1pee23LLJ3l72umbouiBP770qjiBO7C70NV7sL0wHpgX47h1WU5ilPN2H4H4K7k7BC4LPC7fcu7ghbPIv5RUW7WbbO6skrWN70Tec3eBV4acR136aMqXV00Sx3d05KQ17QMoL553TxEaXqk5sev7343Aj62613w6r3TxdlP6HUTJelN413RddRBENr2o643SBmK02KdpJFwD50PCRvkC2n735cm25wK575sXUg6O5k6k373OqpwFGVV7aRAVnW64Vq606NsE0MKeBXkWh0wH3Eq0olcAvQP7ee5o357RLCkr66723D445AwEUdasoTgimChvs1H4wuTS4tNX6FePhtsp3moAELXa2xpi60kMx75kESJ4U4KWJ7Ig142J3B41Bveg73xMV1h2pBtC4SW56HkvsVjqwtMbfa0Wg7q6iJVM5Iv5d2iIs3c44v56Q35GS46eVP45c0casGip6vqtNlME3wg3ikF222L444NP7B6q6Rba22w7hmu3QH3E6A3O56olr0W1a27w1bvc605e7NQ7SgfQrPaS1u1P6TawiW7ccC575w1Gg4jDD6bKMplp0nuqVh745M5xit3Px06citnm3UwpP74fG1s3k2UH0T4Ja43m655Ut5m17FkULhkX5ldpm374lQBEl6QS1T3KBlQfFJkPE6m0H7E74tt13Dl0a6RM210nnJL71U43mKkjDU2R26T1fj4Fh3pAL47t5SrH3Fbn7qh1p0k01B6r5gLTaSfLpXVj27w22eBOpwMiUxV34oWVIOVtu56iJIWJGI35A6b2HsvQam0sFq2pHEoOKb7XUCnW7L04K4M0i4FFo4MCJE0Uu3QjKM1WKD6KGkD0CH1amD3SJ0kKV16q0kdDLfklw2G
mov dword [ebp - 0x8c], str.bf6UQ761N30DWdr26DEJ70BSiR47E5t43XOVLB124wTOQ3dD5PMQgvu4m5UUMeX2MD3e6de4EWed76bd264B00TBRO1BTKwq5274t0T3B4aA131bmw63dIxn6e0PIE4AL327hW0dJV4OkKc2pKjblFnDUslti1aukeD3q1X1wD06fXJDLxx571QLOnJBTRaC5Dl20l5L0vd654l3tXjrPBL17pPu1Ur57Qa453J0bVUh3p7sJX4V6tnb153VBQ23lsCkGNWSehW3WPgqEG24hQCe5H3C52u047EhLkqQvUsQSjf1c3hL0Jf1gnFD5s4e46EP2AwlB4u44bvAa
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x88]
push edx
call fcn.101032d0
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
push eax
call fcn.101032d0
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0
jmp 0x1009dcd8
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x68]
push edx
call fcn.101032d0
add esp, 4
cmp dword [ebp - 0x6c], eax
jae 0x1009dd1a
mov eax, dword [ebp - 0x6c]
movsx ecx, byte [ebp + eax - 0x68]
push ecx
call fcn.101030da
add esp, 4
test eax, eax
je 0x1009dd18
mov edx, dword [ebp - 0x6c]
movsx eax, byte [ebp + edx - 0x68]
mov ecx, dword [ebp - 0x6c]
movsx edx, byte [ebp + ecx - 0x68]
lea eax, [eax + edx*2]
mov ecx, dword [ebp - 0x6c]
mov byte [ebp + ecx - 0x68], al
jmp 0x1009dccf
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x74]
jle 0x1009dfbb
mov dword [ebp - 0x6c], 0
jmp 0x1009dd3b
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.101032d0
add esp, 4
cmp dword [ebp - 0x6c], eax
jae 0x1009dd75
mov edx, dword [ebp - 0x6c]
movsx eax, byte [ebp + edx - 0x68]
push eax
call fcn.10103080
add esp, 4
test eax, eax
je 0x1009dd73
mov ecx, dword [ebp - 0x6c]
movsx edx, byte [ebp + ecx - 0x68]
sub edx, 0x22
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x68], dl
jmp 0x1009dd32
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x7c], 0x186
mov dword [ebp - 0x6c], 0
jmp 0x1009dd9a
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x7c]
jge 0x1009dddc
sub esp, 8
movsd xmm0, qword [0x101551c0]
movsd qword [esp], xmm0
call fcn.10103620
add esp, 8
fstp qword [ebp - 0xb8]
movsd xmm0, qword [ebp - 0xb8]
cvttsd2si ecx, xmm0
mov eax, dword [ebp - 0x7c]
cdq
idiv ecx
mov eax, dword [ebp - 0x7c]
sub eax, edx
mov dword [ebp - 0x7c], eax
jmp 0x1009dd91
mov dword [ebp - 0x70], 0
jmp 0x1009ddfd
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x74]
cmp dword [ebp - 0x70], eax
jg 0x1009df63
mov dword [ebp - 0x6c], 0
jmp 0x1009de21
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x68]
push edx
call fcn.101032d0
add esp, 4
cmp dword [ebp - 0x6c], eax
jae 0x1009de5b
mov eax, dword [ebp - 0x6c]
movsx ecx, byte [ebp + eax - 0x68]
push ecx
call fcn.10103107
add esp, 4
test eax, eax
je 0x1009de59
mov edx, dword [ebp - 0x6c]
movsx eax, byte [ebp + edx - 0x68]
add eax, 0x1c
mov ecx, dword [ebp - 0x6c]
mov byte [ebp + ecx - 0x68], al
jmp 0x1009de18
mov dword [ebp - 0x80], 0
jmp 0x1009de6d
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x74]
jge 0x1009de95
mov ecx, dword [ebp - 0x98]
add ecx, dword [ebp - 0x80]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x80]
movsx ecx, byte [eax]
cmp edx, ecx
je 0x1009de93
jmp 0x1009de95
jmp 0x1009de64
mov dword [ebp - 0x9c], 0x141
mov dword [ebp - 0x6c], 0
jmp 0x1009deb1
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x9c]
jge 0x1009deff
sub esp, 8
movsd xmm0, qword [0x101551a8]
movsd qword [esp], xmm0
call fcn.10103620
add esp, 8
fstp qword [ebp - 0xc0]
movsd xmm0, qword [ebp - 0xc0]
cvttsd2si ecx, xmm0
mov eax, dword [ebp - 0x9c]
cdq
idiv ecx
mov eax, dword [ebp - 0x9c]
sub eax, edx
mov dword [ebp - 0x9c], eax
jmp 0x1009dea8
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x74]
jne 0x1009df12
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x84], edx
jmp 0x1009df63
mov dword [ebp - 0x6c], 0
jmp 0x1009df24
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.101032d0
add esp, 4
cmp dword [ebp - 0x6c], eax
jae 0x1009df5e
mov edx, dword [ebp - 0x6c]
movsx eax, byte [ebp + edx - 0x68]
push eax
call fcn.10103080
add esp, 4
test eax, eax
je 0x1009df5c
mov ecx, dword [ebp - 0x6c]
movsx edx, byte [ebp + ecx - 0x68]
sub edx, 0x30
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x68], dl
jmp 0x1009df1b
jmp 0x1009dde5
mov dword [ebp - 0x7c], 0
jmp 0x1009df75
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
lea edx, [ebp - 0x68]
push edx
call fcn.101032d0
add esp, 4
cmp dword [ebp - 0x7c], eax
jae 0x1009dfbb
mov eax, dword [ebp - 0x7c]
movsx ecx, byte [ebp + eax - 0x68]
push ecx
call fcn.10103024
add esp, 4
test eax, eax
je 0x1009dfb9
mov edx, dword [ebp - 0x7c]
movsx ecx, byte [ebp + edx - 0x68]
mov edx, dword [ebp - 0x7c]
movsx eax, byte [ebp + edx - 0x68]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x68], cl
jmp 0x1009df6c
mov ax, word [ebp - 0xa4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff22d
mov esp, ebp
pop ebp
ret