Function at 0x100789e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.100737c0
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x10078da8
mov eax, dword [0x100d55d0]
add eax, dword [0x100d55d4]
and eax, 0xcb6ac911
mov ecx, 0x6a38465d
xor edx, edx
div ecx
sub eax, 0x5220deb0
sub eax, 0x65e7e1ba
mov ecx, 0x525efad1
xor edx, edx
div ecx
and eax, 0xa8016b5c
xor eax, 0x7631d42d
add eax, 0xabe59ffa
add eax, 0x640bcb52
imul eax, eax, 0x864af960
sub eax, 0x5dc356db
sub eax, 0xe1efe317
mov ecx, 0x8c3d5c69
xor edx, edx
div ecx
and eax, 0xc7fa0c7e
xor eax, 0x58bc1e26
and eax, 0xd42edfb3
imul eax, eax, 0xf7343b47
add eax, 0xd7ed95c8
and eax, 0x714e3466
and eax, 0x2ce7117d
imul eax, eax, 0x9d9c528d
or eax, 0x7620faae
and eax, 0x20de66ee
mov ecx, 0xbe809c54
xor edx, edx
div ecx
mov ecx, 0x753dcf
xor edx, edx
div ecx
imul eax, eax, 0x73aa77b2
xor eax, 0xd80de2ea
or eax, 0x2c787080
sub eax, 0xc6be0883
mov ecx, 0x67dad59b
xor edx, edx
div ecx
add eax, 0xe208e8e6
sub eax, 0x88337306
and eax, 0xc7409153
sub eax, 0xde76b74c
mov ecx, 0x402d89ea
xor edx, edx
div ecx
mov ecx, 0x1da01929
xor edx, edx
div ecx
mov ecx, 0x187ad123
xor edx, edx
div ecx
add eax, 0xe102020
or eax, 0xb56f0439
add eax, 0x387739c1
sub eax, 0xb2b57233
mov ecx, 0xbf327e0
xor edx, edx
div ecx
imul eax, eax, 0x4f7f947b
imul eax, eax, 0xa65524a7
or eax, 0xdbb63584
xor eax, 0xd37c284c
add eax, 0xcba3bf0
mov ecx, 0x221b92f6
xor edx, edx
div ecx
add eax, 0x5eb279b0
or eax, 0x84ae87ca
xor eax, 0x33012ec0
imul eax, eax, 0x9d34f27e
imul eax, eax, 0x5dece141
add eax, 0x2d754422
sub eax, 0x35098f43
and eax, 0x617ea9f
and eax, 0xfc20b97a
add eax, 0xd0780c66
imul eax, eax, 0x3c149907
or eax, 0x5148bec9
add eax, 0x808bb2
mov ecx, 0x97ec3136
xor edx, edx
div ecx
sub eax, 0x5d4bc1d2
mov ecx, 0x8d76f6b0
xor edx, edx
div ecx
mov ecx, 0x61609fdd
xor edx, edx
div ecx
add eax, 0x9df7b561
sub eax, 0x32f8d03d
add eax, 0xc80fc6d2
imul eax, eax, 0xd80c2281
imul eax, eax, 0xa49b24d8
mov ecx, 0x1b2d5a14
xor edx, edx
div ecx
imul eax, eax, 0xed8c6d45
cmp eax, 0x4863b8c6
je 0x10078db2
mov eax, dword [0x100d55d8]
sub eax, dword [0x100d55dc]
mov ecx, 0x15b99a26
xor edx, edx
div ecx
mov ecx, 0xb3b8e588
xor edx, edx
div ecx
and eax, 0x1f136aae
imul eax, eax, 0x71882008
and eax, 0xfc868f9f
sub eax, 0xcf4ece17
or eax, 0x5af0d639
xor eax, 0xc56af0c5
or eax, 0xfe458db5
imul eax, eax, 0xf0816811
or eax, 0x7c12644
sub eax, 0x4a0264f3
sub eax, 0x1cb28de3
xor eax, 0x1cd78ad1
mov ecx, 0xa04bbddb
xor edx, edx
div ecx
mov ecx, 0x1beff281
xor edx, edx
div ecx
or eax, 0x4a29b02a
add eax, 0x5a04d33a
mov ecx, 0x53a74b66
xor edx, edx
div ecx
add eax, 0xb804e6ba
xor eax, 0x8f51190c
or eax, 0xfd509c81
sub eax, 0x51d66293
xor eax, 0x8761df48
add eax, 0x17c3eadd
mov ecx, 0xb5345a57
xor edx, edx
div ecx
or eax, 0xb3d35ea2
add eax, 0x37df30d2
mov ecx, 0xea354ba9
xor edx, edx
div ecx
sub eax, 0x26e8ff57
sub eax, 0xbe01eb34
add eax, 0xc2d95120
mov ecx, 0xa2e03bdd
xor edx, edx
div ecx
or eax, 0xa65896aa
add eax, 0xa1523682
mov ecx, 0x58211492
xor edx, edx
div ecx
add eax, 0xc82baa91
add eax, 0xe24d7c55
xor eax, 0x6d880289
or eax, 0xced21a18
imul eax, eax, 0xf71ea73
sub eax, 0xc6ad3cb
xor eax, 0x95634c20
mov ecx, 0xc396fcdf
xor edx, edx
div ecx
or eax, 0x3690d570
xor eax, 0xa8b58505
sub eax, 0xda7bc3d2
add eax, 0x4a2ae8cd
mov ecx, 0xd7f70098
xor edx, edx
div ecx
or eax, 0x4d93c9f2
xor eax, 0x1257297
xor eax, 0x44d5375d
add eax, 0xfadc95c3
mov ecx, 0x7c90d3b7
xor edx, edx
div ecx
sub eax, 0xf37bb568
mov ecx, 0xa75ec6f0
xor edx, edx
div ecx
xor eax, 0x3bcb3ea3
sub eax, 0x15fd5d11
sub eax, 0xab1a228c
imul eax, eax, 0xd1abe04f
sub eax, 0x43a1751e
sub eax, 0x2fe3e499
add eax, 0xcc58a418
sub eax, 0x467b63b8
imul eax, eax, 0xe3b7b79b
sub eax, 0x48b17885
add eax, 0x93ac1e1c
xor eax, 0x2ef4a272
mov ecx, 0x2733a33c
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
or ecx, 0x90d4ea44
sub ecx, 0x6fced1ef
sub ecx, 0x322534cd
mov dword [ebp - 0x14], ecx
mov dword [esp], eax
call fcn.1007c282
mov eax, dword [ebp - 0x14]
cmp eax, 0xf7a424cd
jae 0x10078bd2
jmp 0x10078da8
mov eax, dword [ebp - 4]
add esp, 0x18
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.1007c282
jmp 0x10078bd2