Function at 0x4749a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e59c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x54], edi
call fcn.0046c450
test al, al
jne 0x4750ee
call fcn.00474950
test al, al
je 0x475122
cmp edi, 0xff
jb 0x474a1e
push edi
push 0x62cb98
call fcn.004a4ed0
add esp, 8
jmp 0x475122
lea eax, [edi + edi*4]
mov ecx, esi
push dword [esi + eax*8 + 0x1e81c]
mov dword [ebp - 0x50], eax
call fcn.004755f0
test al, al
jne 0x4750ee
mov ecx, dword [0x6dc108]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x50]
push dword [esi + eax*8 + 0x1e81c]
call fcn.0047d910
test eax, eax
jne 0x474a6a
push edi
push 0x62cc40
call fcn.004a4ed0
add esp, 8
jmp 0x475122
mov ecx, dword [ebp - 0x34]
call fcn.004819c0
test eax, eax
je 0x474a9d
push edi
mov ecx, esi
call fcn.0046b760
test eax, eax
je 0x474a9d
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x6d9938]
push edi
push dword [esi + eax*8 + 0x1e81c]
call fcn.00458b00
jmp 0x475122
push edi
mov ecx, esi
call fcn.00474430
test al, al
je 0x475122
lea eax, [esi + 4]
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.00469d40
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
jne 0x474ad6
push edi
push 0x62cbf8
call fcn.004a4ed0
add esp, 8
jmp 0x475122
mov ecx, esi
call fcn.00413270
test eax, eax
jne 0x475122
mov ecx, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x44], edi
call fcn.004819b0
test eax, eax
jne 0x474b0c
call fcn.00481960
test eax, eax
jne 0x474b0c
call fcn.00481990
test eax, eax
je 0x474d80
call fcn.004819a0
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x474b1f
call fcn.0046e000
jmp 0x474b24
call fcn.0046e030
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x474c4f
mov edi, dword [ebp - 0x30]
mov ecx, edi
call fcn.0046dfc0
mov ecx, dword [ebp - 0x34]
call fcn.004819a0
mov ecx, edi
test eax, eax
je 0x474b50
call fcn.0046e000
jmp 0x474b55
call fcn.0046e030
mov edi, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x474c4f
mov ecx, dword [ebp - 0x34]
call fcn.00481990
test eax, eax
je 0x474bf0
movss xmm2, dword [0x62fdb0]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.004124f0
test al, al
je 0x474be6
mov esi, dword [ebp - 0x40]
mov ecx, esi
push 1
call fcn.0040d9b0
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0046de60
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov ecx, edi
push eax
push esi
mov esi, dword [ebp - 0x48]
push esi
call fcn.00474810
test al, al
je 0x475122
mov ecx, dword [ebp - 0x34]
call fcn.00481a40
test eax, eax
je 0x474bf5
mov edi, esi
mov ecx, esi
push esi
mov dword [ebp - 0x44], edi
call fcn.004120f0
push 0x62cd24
call fcn.004a4e30
add esp, 4
jmp 0x474d80
push 0x62ac0c
jmp 0x4750f7
mov edi, dword [ebp - 0x30]
jmp 0x474bbe
call fcn.004819a0
lea ecx, [edi + 4]
test eax, eax
je 0x474c28
push 0x62cda4
call fcn.0046a030
push eax
push 0x624554
call dword [fcn.005f48a0]
add esp, 0xc
push eax
push 0x62b0a0
push dword [edi + 8]
jmp 0x47511a
push 0x62ac0c
call fcn.0046a030
push eax
push 0x624554
call dword [fcn.005f48a0]
add esp, 0xc
push eax
push 0x62b0a0
push dword [edi + 8]
jmp 0x47511a
mov ecx, dword [ebp - 0x34]
call fcn.00481a30
test eax, eax
je 0x474d1c
cmp esi, edi
jne 0x474c7a
call fcn.00481a40
test eax, eax
jne 0x474d5a
push 0x62ccdc
jmp 0x4750f7
push edi
mov ecx, esi
call fcn.0040d490
test al, al
jne 0x474cf2
mov ecx, edi
call fcn.0040d7f0
test eax, eax
je 0x474cf2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.004747f0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x474d5a
push edi
mov ecx, esi
call fcn.0040da50
mov ecx, dword [ebp - 0x3c]
movaps xmm2, xmm0
mov eax, ecx
shr eax, 0x1f
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x62ff00]
cvtpd2ps xmm0, xmm1
comiss xmm2, xmm0
jb 0x474d5a
push ecx
push dword [ebp - 0x54]
mov ecx, edi
call fcn.0040d9b0
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0046ec20
jmp 0x475122
mov ecx, dword [ebp - 0x34]
call fcn.00481a40
test eax, eax
je 0x474d12
mov edi, esi
push 0x62cc88
mov dword [ebp - 0x44], edi
call fcn.004a4e30
add esp, 4
jmp 0x474d5a
push 0x62cd10
jmp 0x4750f7
mov ecx, edi
call fcn.0040ada0
test eax, eax
je 0x474d31
push 0x62ccec
jmp 0x4750f7
push edi
mov ecx, esi
call fcn.0040d490
test al, al
je 0x4750f2
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
push eax
push edi
push esi
call fcn.00474810
test al, al
je 0x475122
push edi
mov ecx, esi
call fcn.004120f0
cmp esi, edi
je 0x474d80
mov ecx, esi
call fcn.004120d0
mov ecx, esi
test al, al
je 0x474d7a
call fcn.00418030
jmp 0x474d80
push edi
call fcn.00418080
mov ecx, dword [ebp - 0x34]
call fcn.00481960
test eax, eax
je 0x474deb
test edi, edi
je 0x474d9e
cmp edi, esi
je 0x474d9e
push edi
mov ecx, esi
call fcn.00418080
jmp 0x474deb
lea eax, [ebp - 0x3c]
push eax
call fcn.00469bd0
test al, al
je 0x474dc1
push dword [ebp - 0x3c]
call fcn.00469d20
test eax, eax
je 0x474deb
push eax
mov ecx, esi
call fcn.00418080
jmp 0x474deb
lea eax, [ebp - 0x20]
push eax
call fcn.00469bf0
test al, al
je 0x474ddb
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00418040
jmp 0x474deb
push dword [ebp - 0x54]
push 0x62cd64
call fcn.004a4ed0
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
movss xmm1, dword [eax + ecx*8 + 0x1e82c]
mov ecx, dword [ebp - 0x34]
call fcn.004823e0
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
call fcn.004747f0
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], eax
jbe 0x47504d
test edi, edi
je 0x47504d
xor ecx, ecx
mov edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x34]
call fcn.00481970
test eax, eax
je 0x474f07
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x3c]
push edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x62ff00]
cvtpd2ps xmm1, xmm0
call fcn.00412750
mov ecx, dword [ebp - 0x20]
mov edx, 1
mov dword [ebp - 0x40], ecx
test al, al
je 0x474fc2
mov esi, ecx
cmp esi, dword [ebp - 0x1c]
je 0x474fbf
cmp edx, dword [ebp - 0x4c]
jae 0x47500f
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x474efa
mov ecx, eax
call fcn.0040bce0
test eax, eax
jne 0x474ef7
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
push edi
call fcn.00412200
mov ecx, edi
call fcn.0040db00
mov edi, dword [0x6d9938]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [eax + 0x2a8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0040d9b0
push eax
mov ecx, edi
call fcn.0045ba70
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
inc edx
mov dword [ebp - 0x38], edx
jmp 0x474efa
mov edx, dword [ebp - 0x38]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x474e93
jmp 0x474fbf
call fcn.00481980
test eax, eax
je 0x474fc2
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x3c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x62ff00]
cvtpd2ps xmm1, xmm0
call fcn.00412980
mov ecx, dword [ebp - 0x20]
mov edx, 1
mov dword [ebp - 0x40], ecx
test al, al
je 0x474fc2
mov esi, ecx
cmp esi, dword [ebp - 0x1c]
je 0x474fbf
cmp edx, dword [ebp - 0x4c]
jae 0x47500f
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x474fb7
mov ecx, eax
call fcn.0040bce0
test eax, eax
jne 0x474fb4
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
push edi
call fcn.00412200
mov ecx, edi
call fcn.0040db00
mov edi, dword [0x6d9938]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [eax + 0x2a8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0040d9b0
push eax
mov ecx, edi
call fcn.0045ba70
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
inc edx
mov dword [ebp - 0x38], edx
jmp 0x474fb7
mov edx, dword [ebp - 0x38]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x474f50
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp edx, eax
jae 0x47500f
sub eax, edx
mov dword [ebp - 0x4c], eax
nop
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.00412400
movss xmm0, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
xorps xmm0, xmmword [0x62ff20]
mov ecx, esi
push eax
movss dword [ebp - 0x28], xmm0
call fcn.00412180
mov ecx, dword [0x6d9938]
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.0045ba70
sub dword [ebp - 0x4c], 1
jne 0x474fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x47504d
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x475043
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475144
push ecx
push edx
call fcn.00553618
add esp, 8
mov edx, dword [ebp - 0x30]
mov ecx, edx
call fcn.0046eb80
mov ecx, dword [ebp - 0x34]
call fcn.00428380
test eax, eax
jne 0x4750c5
mov eax, dword [ebp - 0x50]
push dword [edx + eax*8 + 0x1e824]
call fcn.00482510
mov esi, eax
mov eax, dword [ebp - 0x50]
movss xmm1, dword [edx + eax*8 + 0x1e82c]
call fcn.00482580
mov ecx, dword [ebp - 0x34]
mov edx, eax
call fcn.00481ab0
test eax, eax
mov eax, dword [ebp - 0x50]
setne cl
movzx ecx, cl
push ecx
mov ecx, dword [ebp - 0x48]
push edx
push esi
mov esi, dword [ebp - 0x30]
push dword [esi + eax*8 + 0x1e81c]
call fcn.00412bf0
test al, al
jne 0x4750c7
push dword [ebp - 0x54]
push 0x62cdf8
call fcn.004a4ed0
add esp, 8
jmp 0x475122
mov esi, edx
test edi, edi
je 0x4750e1
mov ecx, edi
call fcn.0040d9b0
push eax
push dword [ebp - 0x54]
mov ecx, esi
call fcn.00475150
mov al, 1
jmp 0x475124
xor eax, eax
mov ecx, esi
push eax
push dword [ebp - 0x54]
call fcn.00475150
mov al, 1
jmp 0x475124
push 0x62cd54
mov ecx, dword [ebp - 0x38]
call fcn.0046a030
push eax
push 0x624554
call dword [fcn.005f48a0]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x30]
push 0x62b0a0
push dword [eax + 8]
call fcn.00548300
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0058352a
int3